RESOLVED DUPLICATE of bug 219670 253803
on contentEditable,onMouseUp trigger before onMouseDown.
https://bugs.webkit.org/show_bug.cgi?id=253803
Summary on contentEditable,onMouseUp trigger before onMouseDown.
sunus
Reported 2023-03-12 19:06:14 PDT
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
Attachments
Sam Sneddon [:gsnedders]
Comment 2 2023-03-13 07:07:18 PDT
From the React issue: > I suspect that this is related to the third-party IME. When switching to a third-party IME (such as Sogou, Baidu IME), this problem sometimes occurs.
sunus
Comment 3 2023-03-14 00:33:05 PDT
(In reply to Sam Sneddon [:gsnedders] from comment #2) > From the React issue: > > > I suspect that this is related to the third-party IME. When switching to a third-party IME (such as Sogou, Baidu IME), this problem sometimes occurs. i am not very sure, we also test some other thir-party IME besides(Sogou, Baidu), this still happening. and it's ok in Chrome.
Radar WebKit Bug Importer
Comment 4 2023-03-19 19:07:15 PDT
sunus
Comment 5 2023-04-13 02:43:51 PDT
and updates?
alex_pan
Comment 6 2023-04-18 23:43:02 PDT
we have same problem since 2021/03, any updates?
sunus
Comment 7 2023-08-28 02:34:47 PDT
any updates?
Alexey Proskuryakov
Comment 8 2023-11-28 08:23:23 PST
*** This bug has been marked as a duplicate of bug 219670 ***
Note You need to log in before you can comment on or make changes to this bug.