[Webkit-unassigned] [Bug 179990] Phantom focus/blur events fire on clicking between text input fields when listening with addEventListener

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 20 23:06:05 PST 2018


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

--- Comment #6 from Tim Horton <thorton at apple.com> ---
(In reply to Ryosuke Niwa from comment #5)
> The issue here is that TemporarySelectionChange which is created by
> TextIndicator::createWithRange is setting & restoring the selection, which
> also sets & restores the focus. I'd have to talk with Beth / Tim to figure
> out what we ought to do instead.

To get rid of that selection change, we'd need all of the paint-selection-only painting code to take an arbitrary range instead of always looking at the selection. I think that would be pretty nontrivial.

Instead ideally we'd just stop the events from propagating, I think?

-- 
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/20181121/306e9d78/attachment.html>


More information about the webkit-unassigned mailing list