Should Ctrl+Click work with useMenuItem
?
#3062
JoaoSilvaGrafana
started this conversation in
General
Replies: 1 comment 1 reply
-
Just to confirm, this is specifically when Menu items are links? If so, this is probably best represented by this issue #1244 |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Hi everyone 👋 ,
We are using
react-spectrum
to help us to build an accessible navigation, so we use several of your hooks. Recently a user raised an issue that they expected a Ctrl+Click on a menu item to open in a new tab, however it doesn't seem to be possible withuseMenuItem
, because that hijacks the click and just callsonAction
where we don't have any contextual information of how it was called.I wanted to start a discussion on this to see if it is something that you would want to consider adding or if there is some work around to this?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions