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

Close active elements on state change #677

Merged
merged 1 commit into from
May 17, 2023
Merged

Close active elements on state change #677

merged 1 commit into from
May 17, 2023

Conversation

renahlee
Copy link
Contributor

Overview

This PR:

  • Closes modals / lightboxes when a user swipes back in browser

Known issues:

@classicrob
Copy link

I was just noticing that the back browser navigation wasn't working properly! I have no idea if this PR works but nice!

@renahlee
Copy link
Contributor Author

@classicrob here's a happy path GIF. That said, this PR does not address that modals and lightboxes do not have routes tied to them. I linked the corresponding documentation which should help the team get there moving forward.

back

Copy link
Collaborator

@pfrazee pfrazee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent! Thanks Ollie!

@pfrazee pfrazee merged commit 656baa7 into main May 17, 2023
@pfrazee pfrazee deleted the ollie/APP-647 branch May 17, 2023 14:46
aarongustafson pushed a commit to aarongustafson/social-app that referenced this pull request May 18, 2023
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.

3 participants