NEW 155913
iOS - Clicking on a label far below the "for" input does not scroll to input but does open keyboard
https://bugs.webkit.org/show_bug.cgi?id=155913
Summary iOS - Clicking on a label far below the "for" input does not scroll to input ...
Gerald
Reported 2016-03-25 18:29:58 PDT
Created attachment 274964 [details] This is how the screen looks when you click the label to the far-away input When a label is clicked that is below it's "for" input, the input which receives focus should be scrolled to. If the label is far below the input for some reason the scroll does not happen. The input is focused and the keyboard comes up. When you begin to type the window will then scrolls to the input. I first spotted this in iOS 9.2 and it continues to be in 9.3 Here is a link with an example of the issue: http://mysmilies.com/junk/ios_no_scroll_on_label_click.html The code is simple: <form> <input id="search1"> <br> <br> <br>(repeat a lot of br tags) <label for="search1">Click</label> </form>
Attachments
This is how the screen looks when you click the label to the far-away input (116.38 KB, image/png)
2016-03-25 18:29 PDT, Gerald
no flags
Note You need to log in before you can comment on or make changes to this bug.