[Webkit-unassigned] [Bug 246048] Incorrect scroll position reported

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 4 22:16:09 PDT 2022


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

--- Comment #4 from Jack Doyle <jack at greensock.com> ---
Unfortunately, no, that isn't possible. We don't have control over the markup/structure. 

There aren't any tricks to getting scroll to be synchronous?

I attempted to preventDefault() on touchmove events and handle the scrolling via JavaScript which should totally work in theory, but there's a nasty bug in iOS Safari since 2018 (from what I can tell) that makes it impossible because the event.clientY/X are incorrectly reported, as illustrated in one of my demos provided:

https://codepen.io/GreenSock/pen/ExbrPNa/087cef197dc35445a0951e8935c41503

That bug report is here: https://bugs.webkit.org/show_bug.cgi?id=181954

I tried bumping it months ago and got no answer. 

So I have no way of figuring out where the user's finger actually is in the viewport (reliably) when scroll is involved. Or am I missing something?

-- 
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/20221005/82b5e7e0/attachment.htm>


More information about the webkit-unassigned mailing list