aboutsummaryrefslogtreecommitdiffstats
path: root/script/rails-deploy-before-down
diff options
context:
space:
mode:
authorLuke Bacon <luke@equivalentideas.com>2015-04-02 17:33:21 +1100
committerLuke Bacon <luke@equivalentideas.com>2015-04-02 17:42:01 +1100
commita6dfacacd7f1a930f56d876e502c8ab11b813181 (patch)
tree904647d34195034b4c363425d4ec18d76e63e7e6 /script/rails-deploy-before-down
parent61225158aabba94a19bae14039ddfd32ee0216c3 (diff)
select text after the box is positioned
Some devices (IOS) jump the screen to the position of a form input when it is selected. This causes the screen to scroll to the bottom of the page when the 'link to this' icon is clicked, because the browser scrolls before the box is positioned on screen. This commit changes the order of steps in script for the 'link to this' widget, so that the input is selected *after* the box is positioned. This stops the broswer from jumping to the bottom of the page. Tested in Chrome, Safari and IOS simulator on Mac OSX. Fixes #2264 https://github.com/mysociety/alaveteli/issues/2264
Diffstat (limited to 'script/rails-deploy-before-down')
0 files changed, 0 insertions, 0 deletions