[Webkit-unassigned] [Bug 191218] Touch event not firing while scrolling is in motion

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 11 08:32:13 PST 2019


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

--- Comment #3 from Frédéric Wang (:fredw) <fred.wang at free.fr> ---
(In reply to Frédéric Wang (:fredw) from comment #2)
> - When you scroll and tap the blue rectangle during scrolling,
> WKScrollingNodeScrollViewDelegate::scrollViewDidEndDragging is called and
> just informs ScrollingTreeScrollingNodeDelegateIOS about the scroll & scroll
> end.

I tried sending the commitPotentialTap message from there but it does not work. The target node & position must be set first with a potentialTapAtPosition, so it seems the solution will be a bit more complex.

> - When you tap directly the blue rectangle,
> WKContentView::_singleTapGestureRecognizer will invoke
> WebPageProxy::commitPotentialTap in order to tell the Web process to
> dispatch an event.

WKContentView::_singleTapGestureRecognizer is a WKSyntheticTapGestureRecognizer. However, this listener is not triggered when the UIScrollView is scrolling...

> I wonder if there is something wrong in the fact that touch gesture are not
> handled by WKContentView during scrolling or if the scrolling delegate
> should do similar work as WKContentView to recognize touch gestures.

If the former, I guess that's something Apple should fix. For the latter, a proper solution will probably be to use some UITapGestureRecognizer on UIScrollView, if that's ever possible. I'll investigate more on this but found  https://stackoverflow.com/questions/27715448/uitapgesturerecognizer-on-uiscrollview

-- 
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/20191211/83444272/attachment.htm>


More information about the webkit-unassigned mailing list