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

Stimulus controllers are not loaded when navigating with turbo #553

Closed
1ed opened this issue Nov 14, 2022 · 2 comments
Closed

Stimulus controllers are not loaded when navigating with turbo #553

1ed opened this issue Nov 14, 2022 · 2 comments

Comments

@1ed
Copy link
Contributor

1ed commented Nov 14, 2022

Hi, using stimulus controllers with turbo should work out of the box, or am I missing something?

When I click a link and turbo loads the new page stimulus controllers are not run. When I reload the page it works.

There is a reproducer here: https://github.com/1ed/ux-autocomplete-extend

What am I missing?

@BahmanMD
Copy link

@1ed I tested https://github.com/1ed/ux-autocomplete-extend and it ran without problems. It is better to clear the browser cache and Symfony cache. Also clear public/build path and rebuild the assets.

@1ed
Copy link
Contributor Author

1ed commented Nov 26, 2022

Yeah, thanks! That was a caching issue.

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