[Webkit-unassigned] [Bug 253803] New: on contentEditable,onMouseUp trigger before onMouseDown.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 12 19:06:14 PDT 2023


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

            Bug ID: 253803
           Summary: on contentEditable,onMouseUp trigger before
                    onMouseDown.
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Mac (Apple Silicon)
                OS: macOS 13
            Status: NEW
          Severity: Major
          Priority: P2
         Component: HTML Editing
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sunuslee at gmail.com
                CC: wenson_hsieh at apple.com

Mac OS (Big Sur) to Ventura still Reproduce.

Steps To Reproduce:

set div contentEditable
div addEventListener onMouseUp and onMouseDown
onMouseUp trigger before onMouseDown
Link to code example:

<div
  onMouseDown={() => {console.log('mouse down')}}
  onMouseUp={() => {console.log('mouse up')}}
  suppressContentEditableWarning
  contentEditable>
  Test ContentEditable In Safari
</div>

see detail in this comment:
https://github.com/facebook/react/issues/20787#issuecomment-1279942233

-- 
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/20230313/e3b3fd12/attachment.htm>


More information about the webkit-unassigned mailing list