You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
环境
复现步骤
/目标/目标实际结果
期望结果
影响
/目标设置目标;/计划同样走 claim 路径,只是其参数通常是 ASCII(off),所以不易被触发定位线索
packages/client/ui-conversation/lib/client.js:16475
ui-conversation/lib/client.js:12803(TOKEN_STYLE = color: var(--dsw-alias-state-business-primary))
ui-conversation/lib/client.js:12817-12838(splitText 在 :12831)
ui-conversation/lib/client.js:12845-12849 + 13881-13885(claim 翻转时 markDirty 强制重渲染该节点)
isComposingEvent(keyCode 229) 保护,而 claim 装饰这条路径没有同类保护
推测
claim 生效时光标位于“带行内蓝色样式、且会被 split/重渲染”的那个文本节点内。
IME 组合期间对该节点做 splitText / 强制重渲染,会让浏览器失去 composition 宿主,
并使 Lexical 模型与 DOM 脱同步
All reactions