[Webkit-unassigned] [Bug 195281] New: [iOS] Should not scroll when checkbox, radio, submit, reset, or button is focused

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 4 09:31:15 PST 2019


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

            Bug ID: 195281
           Summary: [iOS] Should not scroll when checkbox, radio, submit,
                    reset, or button is focused
           Product: WebKit
           Version: WebKit Local Build
          Hardware: iPhone / iPad
                OS: iOS 12
            Status: NEW
          Keywords: NeedsRadar
          Severity: Normal
          Priority: P2
         Component: Scrolling
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dbates at webkit.org
                CC: thorton at apple.com,
                    webkit-bug-importer at group.apple.com,
                    wenson_hsieh at apple.com

With recent UIKit work and the patch for bug #192824 checkboxes and radio buttons can now be activated by pressing the spacebar when focused. The spacebar is also interpreted by the iOS scroll animator as a request to scroll the page. So, we may scroll the page when trying to activate a checkbox or radio button. That does not feel natural.

We have heuristics to not scroll when the spacebar is pressed if the currently focused element is a content editable element or a <select>. Clearly this does not cover checkboxes and radio buttons. So, we should amend the heuristic. Also, we should consider amending the heuristic to avoid scrolling when other form elements are focused such as a submit, reset or button element.

Note that content edibility covers text fields (all the different kinds) and text areas.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190304/a7f96853/attachment-0001.html>


More information about the webkit-unassigned mailing list