[Webkit-unassigned] [Bug 153856] New: Scroll gesture in form control in position:fixed element sometimes scrolls <body> instead of scrollable ancestor on iOS

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 4 01:22:53 PST 2016


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

            Bug ID: 153856
           Summary: Scroll gesture in form control in position:fixed
                    element sometimes scrolls <body> instead of scrollable
                    ancestor on iOS
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: iOS
                OS: iOS 9.2
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Forms
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: webkit at chrisrebert.com

Created attachment 270642
  --> https://bugs.webkit.org/attachment.cgi?id=270642&action=review
Testcase demonstrating the problem

Steps to reproduce:
1. Open the attached testcase in iOS Safari.
2. Tap the "Launch demo modal" button.
3. Tap into the 2nd text field.
4. Type some text.
5. Tap the Done button.
6. Perform a scroll-down gesture (i.e. flick your finger upward), but start the scroll gesture within the bounds of the 2nd text field.

Actual result:
The <body> scrolls downward.

Expected result:
The yellow <div> (which is a descendant of a position:fixed <div>) should scroll downward.
The <body> shouldn't scroll at all, because it's styled as overflow:hidden.

Original Bootstrap bug: https://github.com/twbs/bootstrap/issues/14839#issuecomment-60940738

This is similar to bug 153852, but that bug usually occurs only when the position:fixed element has already been scrolled to its top or bottom,
whereas this bug doesn't have that requirement and seems to be related to text fields specifically.

-- 
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/20160204/65b0d825/attachment.html>


More information about the webkit-unassigned mailing list