[Webkit-unassigned] [Bug 199430] New: [iOS] Tapping an element with a click event handler no longer clears the selection

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 2 20:21:51 PDT 2019


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

            Bug ID: 199430
           Summary: [iOS] Tapping an element with a click event handler no
                    longer clears the selection
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: wenson_hsieh at apple.com
                CC: wenson_hsieh at apple.com

This makes it nearly impossible to truly dismiss a text selection on a New York Times article, Google search results page, and other big websites. I wrote “truly dismiss” because while it looks like the UIKit selection view disappears upon tapping, the DOM selection remains the same.

To reproduce:

1. Go to any New York Times article.
2. Make a text selection.
3. Try to dismiss the text selection by tapping on some other text. Notice that the blue tinted selection view disappears.
4. Open Web Inspector and type “getSelection().toString()”.

Expected: Empty string.
Observed: The originally selected text.

-- 
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/20190703/a20a7d30/attachment-0001.html>


More information about the webkit-unassigned mailing list