When I have a node selection and "tap" click (using Mac trackpad) into some text outside the selected nodes, the current selection is set to null and no SELECTION_CHANGE_COMMAND is dispatched. Full clicks work as expected.
Lexical version: 0.10.0
Steps To Reproduce
Open the Lexical Playground
Insert a GIF
Type some text in a new paragraph
Select the GIF (the node selection)
Tap click into the text.
The current behavior
The selection is cleared (set to null) and no selection change command is dispatched.
The expected behavior
The behavior should be the same as a regular "click": the text below should have the selection and a selection change command should be dispatched.
When I have a node selection and "tap" click (using Mac trackpad) into some text outside the selected nodes, the current selection is set to
null
and noSELECTION_CHANGE_COMMAND
is dispatched. Full clicks work as expected.Lexical version: 0.10.0
Steps To Reproduce
The current behavior
The selection is cleared (set to
null
) and no selection change command is dispatched.The expected behavior
The behavior should be the same as a regular "click": the text below should have the selection and a selection change command should be dispatched.