volto icon indicating copy to clipboard operation
volto copied to clipboard

onFocus handle to focus tabbed blocks

Open Wagner3UB opened this issue 1 year ago โ€ข 1 comments

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).

Wagner3UB avatar Sep 24 '24 15:09 Wagner3UB

Deploy Preview for plone-components canceled.

Name Link
Latest commit 0c339e26f2d7c589d61f27c39e110c42ab35b28b
Latest deploy log https://app.netlify.com/sites/plone-components/deploys/672099ee9131550008270daf

netlify[bot] avatar Sep 24 '24 15:09 netlify[bot]

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. ๐Ÿงน

github-actions[bot] avatar Apr 28 '25 00:04 github-actions[bot]