-
Notifications
You must be signed in to change notification settings - Fork 28
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
Hover behavior persists until component is remounted. #39
Comments
ninjarogue
changed the title
Stories using pseudo states addon persist when switching to alternate stories for the same component
Hover behavior persist until component is remounted.
Sep 5, 2022
@ninjarogue I have tried same on button but it didn't even do the hover feature at all. any help would be really helpful. Thanks in advance. |
@amit13091992 how can I help? |
ninjarogue
changed the title
Hover behavior persist until component is remounted.
Hover behavior persists until component is remounted.
Sep 29, 2022
+1 |
@ninjarogue Did you find any workarounds for this? I'm encountering the same issue. |
@drewbrend Sorry I never found a workaround.. I'm no longer working on the same project. |
Looking for a workaround as well |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The hover behavior is still shown (while viewing the stories at issue on the canvas) even after switching between stories for a single React (v18.0.2) component. The issue resolves itself once the component is remounted.
To Reproduce
If you alternate between the two stories (Default and Hovered) to view their canvases, you'll see that the hover behavior persists until the components are remounted. And if you remount the component with the pseudo hover state enabled, the hover behavior disappears.
Stories:
HeaderNavigation implementation:
System
The text was updated successfully, but these errors were encountered: