Tabs: Changing selected Tab onPressEnd
#8909
Unanswered
stevegreco
asked this question in
Q&A
Replies: 1 comment
-
If I recall, it's to match the behaviours of many native apps like Mac Finder tabs or Chrome tabs. We don't provide a way to change that behaviour right now. I will note that the apg pattern does happen on press end https://www.w3.org/WAI/ARIA/apg/patterns/tabs/examples/tabs-automatic/ @majornista do you have any insight here? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Just a quick question about the
Tabs
component, currently when using a mouse, the tabs changeonMouseDown
/onPressStart
, is there any way to change this behavior toonMouseUp
/onPressEnd
?On mobile, it does change the Tab
onPressEnd
, but when using the mouse, it is the opposite.I did not see anything in the W3 spec that addresses the best practice for interactions like this, other than with Keyboard navigation that it should change the Tab immediately.
As of today, it seems like the only way would be to maybe utilize the hooks and override this functionality.
Beta Was this translation helpful? Give feedback.
All reactions