Skip to content

Prevent search on every page visit #1410

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

Merged
merged 2 commits into from
Apr 18, 2024
Merged

Conversation

chillenberger
Copy link
Contributor

  • make search modal lazy to prevent triggering search on every navigation. This now calls only when search modal is opened. We could go further and make it a data-turbo-permanent but this runs into issues with get by id on controller connect. It fails to find the element by id. It can be overcome by getting target element on search. Not really worth the change for now.

@chillenberger chillenberger merged commit fd613cb into master Apr 18, 2024
@chillenberger chillenberger deleted the dan-fix-search-on-every-visit branch April 18, 2024 19:40
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.

1 participant