-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
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
Ability to nest Toolbar.Item
as an opening button for a DropdownMenu
#515
Comments
Do you have a suggestion to fix it? |
I can't find a really satisfying solution right now that wouldn't break the idea of the design system. Best idea right now would be to replace (or add an option to) the |
Conceptually, you want the dropdown's trigger to be your toolbar item. I think we need to change the API to accept that. In other words, an option to render your own trigger button. |
Seems like it. |
This example:
leads to having two
button
tag nested, which trigger the following warning:The text was updated successfully, but these errors were encountered: