[Webkit-unassigned] [Bug 155913] New: iOS - Clicking on a label far below the "for" input does not scroll to input but does open keyboard

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 25 18:29:58 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=155913

            Bug ID: 155913
           Summary: iOS - Clicking on a label far below the "for" input
                    does not scroll to input but does open keyboard
    Classification: Unclassified
           Product: WebKit
           Version: Safari 9
          Hardware: iOS
                OS: iOS 9.3
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Forms
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: geraldb+bugzilla at gmail.com

Created attachment 274964
  --> https://bugs.webkit.org/attachment.cgi?id=274964&action=review
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>

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160326/20fee189/attachment.html>


More information about the webkit-unassigned mailing list