Bug 253803
Summary: | on contentEditable,onMouseUp trigger before onMouseDown. | ||
---|---|---|---|
Product: | WebKit | Reporter: | sunus <sunuslee> |
Component: | HTML Editing | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Major | CC: | ap, joone, karlcow, panyaoheng, sunuslee, webkit-bug-importer, wenson_hsieh |
Priority: | P2 | Keywords: | BrowserCompat, InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Mac (Apple Silicon) | ||
OS: | macOS 13 |
sunus
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
sunus
you can test with 3rd IME:
https://ime.sogouimecdn.com/202303131007/25a473fc3c1e842b12969744bfc7ca75/dl/gzindex/1678360775/sogou_mac_guanwang_614b.zip
Sam Sneddon [:gsnedders]
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
(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
<rdar://problem/106923953>
sunus
and updates?
alex_pan
we have same problem since 2021/03, any updates?
sunus
any updates?
Alexey Proskuryakov
*** This bug has been marked as a duplicate of bug 219670 ***