-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Open
Labels
enhancementImprovement over existing featureImprovement over existing featuregood first issueGood for newcomersGood for newcomerslistsRelates to Lexical ListsRelates to Lexical Lists
Description
Description
In checkList.ts, handleClick explicitly focuses the node. This is a problem on mobile, as it makes it impossible to check or uncheck list items without causing the keyboard to automatically animate in.
Use cases
- Toggling checkboxes without focusing the editor on mobile.
Alternative solutions
- We rolled out our own plugin, but it has broken on us with lexical updates in the last update.
Impact
Adding a disableTakeFocusOnClick?=false parameter to plugin initialization would have no negative impact on existing users but would better support checklists on mobile.
Metadata
Metadata
Assignees
Labels
enhancementImprovement over existing featureImprovement over existing featuregood first issueGood for newcomersGood for newcomerslistsRelates to Lexical ListsRelates to Lexical Lists