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
SELECTION_CHANGE_COMMAND is not triggered in any browser. Note, however, that the command is dispatched if the selection boundary is located on a formatted text node or inside an inline node
selectionchange.in.partial.selection.mov
It has also been locally confirmed that the bug reproduces on version 0.50.0
The expected behavior
SELECTION_CHANGE_COMMAND is dispatched if a selection with boundaries is removed from any type of node
Impact of fix
Handlers tied to selection changes via a Lexical command do not receive the event, even though the selection has actually changed. Despite the specific conditions required to reproduce the bug, it appears that it may occur quite frequently
Lexical version: 0.51.0
Steps To Reproduce
Link to code example
The current behavior
SELECTION_CHANGE_COMMANDis not triggered in any browser. Note, however, that the command is dispatched if the selection boundary is located on a formatted text node or inside an inline nodeselectionchange.in.partial.selection.mov
It has also been locally confirmed that the bug reproduces on version 0.50.0
The expected behavior
SELECTION_CHANGE_COMMANDis dispatched if a selection with boundaries is removed from any type of nodeImpact of fix
Handlers tied to selection changes via a Lexical command do not receive the event, even though the selection has actually changed. Despite the specific conditions required to reproduce the bug, it appears that it may occur quite frequently