mirror of
https://github.com/penpot/penpot.git
synced 2025-06-05 21:31:39 +02: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"
|
:role "tab"
|
||||||
:aria-selected selected
|
:aria-selected selected
|
||||||
:title (or label aria-label)
|
:title (or label aria-label)
|
||||||
:tab-index (if selected 0 -1)
|
:tab-index (if selected nil -1)
|
||||||
:ref tab-ref
|
:ref tab-ref
|
||||||
:data-id id})]
|
:data-id id})]
|
||||||
|
|
||||||
|
@ -155,6 +155,6 @@
|
||||||
:on-click handle-click
|
:on-click handle-click
|
||||||
:tabs-refs tabs-refs}]]
|
:tabs-refs tabs-refs}]]
|
||||||
|
|
||||||
[:> tab-panel* {}
|
[:> tab-panel* {:tab-index 0}
|
||||||
panel-content]]))
|
panel-content]]))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue