mirror of
https://github.com/penpot/penpot.git
synced 2025-01-09 00:10:11 -05:00
✨ Enable focusing on tab-switcher* panel
This commit is contained in:
parent
66d30e35c7
commit
d3e891eec3
1 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@
|
|||
:role "tab"
|
||||
:aria-selected selected
|
||||
:title (or label aria-label)
|
||||
:tab-index (if selected 0 -1)
|
||||
:tab-index (if selected nil -1)
|
||||
:ref tab-ref
|
||||
:data-id id})]
|
||||
|
||||
|
@ -155,6 +155,6 @@
|
|||
:on-click handle-click
|
||||
:tabs-refs tabs-refs}]]
|
||||
|
||||
[:> tab-panel* {}
|
||||
[:> tab-panel* {:tab-index 0}
|
||||
panel-content]]))
|
||||
|
||||
|
|
Loading…
Reference in a new issue