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

[Parts Kit] Use localStorage to preserve accordion state #42

Open
gregkohn opened this issue Sep 23, 2021 · 0 comments
Open

[Parts Kit] Use localStorage to preserve accordion state #42

gregkohn opened this issue Sep 23, 2021 · 0 comments

Comments

@gregkohn
Copy link
Contributor

As a SPA, Storybook has a nice behavior where accordion state is preserved as you navigate components. I think this presents a far better experience because things aren't jumping around. Syncing state to localStorage should do it...but perhaps this is a can of worms with the slide animation on load -- would need to bypass it

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

No branches or pull requests

1 participant