Skip to content
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

fix: ToggleButtons would get incorrect values #877

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

iisakkirotko
Copy link
Collaborator

We were finding values for whatever elements in the children of togglebuttons had a value or label prop.
Now we properly loop through children (and activators of tooltip/menu, etc), and only get values for Buttons.

Fixes #831

Copy link
Collaborator Author

iisakkirotko commented Nov 25, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

We were finding values for whatever elements in the children of togglebuttons had a `value` or `label` prop.
Now we properly loop through children (and activators of tooltip/menu, etc), and only get values for Buttons.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't use tooltips for children of ToggleButtonsSingle
2 participants