mirror of
https://github.com/penpot/penpot.git
synced 2026-03-12 05:16:23 +00:00
✨ Enable focusing on tab-switcher* panel
This commit is contained in:
@@ -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]]))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user