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

Page reloads on spotlight close #9

Open
laulaz opened this issue Jan 25, 2022 · 0 comments
Open

Page reloads on spotlight close #9

laulaz opened this issue Jan 25, 2022 · 0 comments

Comments

@laulaz
Copy link
Member

laulaz commented Jan 25, 2022

When you close the "spotlight" feature, the page reloads.
This is not the case with the original library (see demo in https://nextapps-de.github.io/spotlight/), even in the same version (we use 0.6.5 in plone.gallery).

This is due to history handling and the fact that the spotlight does a history.go() call when you close it.

I don't know out to fix this "interaction" with Plone in a clean way. Removing history.go() of course works 😜

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