[Webkit-unassigned] [Bug 219670] Tap to click inconsistent with normal click on OSX

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 18 11:06:23 PDT 2021


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

--- Comment #19 from Tim Horton <thorton at apple.com> ---
(In reply to mic.gallego from comment #18)
> (In reply to Tim Horton from comment #17)
> > 1) I still can't repro on the reduction page (I understand how to
> > tap-to-click, I promise :D)
> > 2) But I can on https://warehouse-theme-metal.myshopify.com/
> > 3) But it's broken both for click and tap-to-click, for me. Might be a click
> > speed thing, though, because:
> > 
> > The *problem* is that you're hiding the search results on the `focusout`
> > event, and depending on the timing relative to the click event (which as I
> > mentioned in comment 1 is one of the big things that is "weird" about
> > tap-to-click) to ensure that the link is still there to follow.
> > 
> > Disabling the `focusout` handler fixes your site (obviously you'd want a
> > more gentle workaround). I'd recommend that for a short term fix.
> > 
> > Longer term we probably want to peek at how this works in other browsers;
> > maybe the event order is different, or they stash the target aside, or
> > something? Just speculation.
> 
> Sorry Tim, I have no doubt you know how to tap to click, sorry if this was
> perceived as rude. This issue just drives me nuts :(.

Heh, it's ok :)

> I am indeed using a focusout. However the issue is that even if I execute
> the focusout content something like 2 or 3 seconds after, the tap to click
> still does not work (which is the whole issue).

Iiiiinteresting...

> The issue is really as if the tap to click to click is completely ignored
> and pass through. 
> 
> I definitely want to find the root cause of this and be able to provide a
> sane fix for all Safari users (other browsers are not impacted), so if I can
> do anything that would help let me know. Would duplicating the store with a
> delay on the focusout listener help you to further debug it?

I'm not sure that will do the trick! Because if I disable the focusout listener in the Web Inspector, I don't have any trouble, just like I don't have any trouble on the jsbin...

-- 
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/20211018/f1618ce7/attachment.htm>


More information about the webkit-unassigned mailing list