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(modal): closed in Storybook on window location change #221

Merged
merged 3 commits into from
Oct 5, 2023

Conversation

manoncarbonnel
Copy link
Contributor

🐛 In storybook, modal component keeps opened on route change and modals can overlap each other.

  • Added a button to toggle modal in Storybook 'Docs' tab for modal component.
  • Fixed by closing modal(s) on route change.

@manoncarbonnel manoncarbonnel requested a review from a team as a code owner September 28, 2023 12:59
@manoncarbonnel manoncarbonnel self-assigned this Sep 28, 2023
@manoncarbonnel manoncarbonnel merged commit 7e8cfcd into master Oct 5, 2023
1 check passed
@dpellier dpellier deleted the fix/modal-storybook branch October 6, 2023 09:52
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.

4 participants