-
Notifications
You must be signed in to change notification settings - Fork 57
[RichText] when inline toolbar is actionable, can't obtain focus on editable #293
Copy link
Copy link
Closed
Labels
Description
To test:
We first need to get to a state where the toolbar is actionable on a RichText based component:
- launch the demo app from scratch
- Tap on the Lorem Ipsum Rich Text block
- observe the cursor appears, the block gets selected, the keyboard appears and the editor toolbar reflects the Heading style
- try tapping on the TRASH icon once. Make sure you're tapping on that button location
- observe the caret is now gone, the keyboard gets hidden, but the block remains selected. Also observe the block has not been trashed.
In this state, now:
- try tapping on the text to obtain the caret and edit it.
- observe that is simply not possible.
- tap on the DOWN arrow on such block
- observe the block moves down one position.
- tap on the UP arrow
- observe the block moved back up one position.
- tap on the trash icon
- observe the block is removed from the list.
What should happen?
- an editable block that is selected, should also be editable and the inline toolbar should work.
Workaround
As a workaround, after step 7 try to select another editable, and then again tap into Lorem ipsum, and verify the caret appears and you can edit the text.
Where
Observed on a real device (Google Pixel 8.1)
Reactions are currently unavailable