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

Toggle doesn't update based on new props #236

Closed
seanders opened this issue Jan 13, 2015 · 0 comments · Fixed by #237
Closed

Toggle doesn't update based on new props #236

seanders opened this issue Jan 13, 2015 · 0 comments · Fixed by #237
Labels
component: switch This is the name of the generic UI component, not the React module!

Comments

@seanders
Copy link
Contributor

I am encountering an issue when I render a Toggle component. I am unable to update the state of the component when I pass in new properties to the Toggle component.

I can toggle-on a Toggle component, and it will remain on even though I am passing new properties to the Toggle component.

For example, I can toggle on here
image

When I re-render the Toggle component with new properties, I would expect the component to be toggled off. Yet i get this:
image

@oliviertassinari oliviertassinari added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Dec 25, 2022
@zannager zannager added component: switch This is the name of the generic UI component, not the React module! and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: switch This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants