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

Modales display and closure #178

Open
dlaxcess opened this issue May 2, 2022 · 0 comments
Open

Modales display and closure #178

dlaxcess opened this issue May 2, 2022 · 0 comments
Assignees
Milestone

Comments

@dlaxcess
Copy link
Contributor

dlaxcess commented May 2, 2022

For the moment modales are displayed by a :target pseudo element when a anchor is targeted in the URL.
So for their closure, an <a href="./" is used to untarget the element, that make the page refreshing.
In Wordpress plugin, it redirects on general admin page when a modale is closed

We perhaps have to manage this in another way to avoid refreshing like in a modern one page application.

The solution could be to manage it in Svelte

@zapaz zapaz added this to the LATER milestone Jul 4, 2022
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