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

Save modal state on page change #5

Open
ahmedvilden opened this issue Apr 6, 2021 · 1 comment
Open

Save modal state on page change #5

ahmedvilden opened this issue Apr 6, 2021 · 1 comment

Comments

@ahmedvilden
Copy link

Hello, I'm using the extension, I'm changing the buttons states in the modal depends on user clicks, it works fine but whenever I change the web page the modal window refreshes its state and I have to click on the buttons again. Is there a way to save the state of the modal window so when I click on the extension after page change it doesn't change again ?

@damianryann
Copy link

I think you should use React Router - I havent tried this but if you treat it like a regular link it will try to redirect in a traditional way. from React router dom might do the trick but just a hunch. I have yet to experiment myself.

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

2 participants