onFocus handle to focus tabbed blocks
The focus issue when entering a block using the Tab key has been fixed. Now, the onFocus function works similarly to the onClick function, giving focus to the block and activating the visible border and functional buttons (drag, delete, and add block).
To reproduce this issue: 1-Enter edit mode 2-Press Tab to move from the title to the first block 3-Go back to the title by pressing the Up Arrow key 4-Press Tab again
-Without this fix, the focus would not appear on the block.
P.S.: At this point, the focus is trapped and those buttons are not accessible yet, we can change block pressing arrow up/down, but those buttons aren't focusable. This will be fixed soon (I hope).
Deploy Preview for plone-components canceled.
| Name | Link |
|---|---|
| Latest commit | 0c339e26f2d7c589d61f27c39e110c42ab35b28b |
| Latest deploy log | https://app.netlify.com/sites/plone-components/deploys/672099ee9131550008270daf |
Hi There! ๐
We haven't seen any activity on this pull request in a while :sleeping:, and we want to make sure that it's still relevant. Please let us know by:
- adding a comment about what needs to be done next ๐ฌ
- updating its status and other labels ๐ท๏ธ
Otherwise close this pull request. ๐งน