[Webkit-unassigned] [Bug 134596] Click events offset in webkit-overflow-scrolling iframes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 30 10:41:16 PDT 2014


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


JT <jtanaka at salesforce.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jtanaka at salesforce.com




--- Comment #5 from JT <jtanaka at salesforce.com>  2014-09-30 10:41:14 PST ---
A few other notes that hopefully make it easier to identity and more likely to be fixed:

This not only affects native and hybrid downloadable apps using UIWebview, but even oneapp home screen launchers created from within Safari. Is this the same renderer or do they share come library code?

This is still evident in iOS 8.0.2

It can be reproduce in XCode 6.0.1 emulators for iOS 8.

Although the clicked target element is offset by the scroll amount, the event screenX and screenY attributes seem to be correct, returning the position of the actual element, not the reacting element from lower in the page.

This also affects touch and hold to select text or paste from the clipboard.

If I wrap the iframe with a div styled like this, it always shows the problem:
  height:100%;
  overflow:auto;
  -webkit-overflow-scrolling: touch;
  position:relative;

But if I remove one line, overflow:auto, the issues goes away.
  height:100%;
  -webkit-overflow-scrolling: touch;
  position:relative;

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list