We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Either or both the MenuButton and MenuLink should have an option to propagate a target for the link.
At the moment we can attach the target="_blank" to the MenuLink directly as a prop, but it doesn't work.
Attaching a target prop should work as described.
It impacts everyone who wants to use the link and expects it to have link behaviour.
A workaround is to wrap the MenuItem in both a and an element, like so:
<Link href={{pathname: ROUTE}} passHref > <a target="_blank"> <MenuItem>Link</MenuItem> </a> </Link>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
🚀 Feature request
Either or both the MenuButton and MenuLink should have an option to propagate a target for the link.
Current Behaviour
At the moment we can attach the target="_blank" to the MenuLink directly as a prop, but it doesn't work.
Desired Behaviour
Attaching a target prop should work as described.
Who does this impact? Who is this for?
It impacts everyone who wants to use the link and expects it to have link behaviour.
Describe alternatives you've considered
A workaround is to wrap the MenuItem in both a and an element, like so:
The text was updated successfully, but these errors were encountered: