-
-
Notifications
You must be signed in to change notification settings - Fork 341
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
[StimulusBundle] Lazy controllers not loaded with Turbo #2576
Comments
Hi, I'm facing the same issue, it might be related to the changes here symfony/stimulus-bundle@v2.22.1...v2.23.0 @Kocal |
Do you guys think you'd be able to set a small reproducer with the minimal amount of code, for investigation ? |
Same bug related to this PR symfony/stimulus-bundle@254f4e0 For reproduction just upgrade inside ux.symfony.com project to symfony/[email protected], then navigate between https://ux.symfony.com/turbo and https://ux.symfony.com/live-component pages The 2 following controllers should be lazy loaded, but it's not with this last version : |
Ok thank you! I will try to fix this during the week-end ... or will revert. If someone want to have a look before, please do :) |
I opened a PRI... could you please guys check it and tell me how it goes for you? |
I am using Turbo and Stimulus. After the upgrade to v2.23.0 my lazy loaded controllers are not loaded sometimes. If I navigate in my app via Turbo drive my lazy loaded controllers are sometimes not loaded. If I perform full page refresh they are loaded. If I remove the lazy load they are loaded as well. See my 2 screenshots. One is navigated with Turbo Drive the other is with full page refresh. I have "click" controller that is connected to the elements on my page.
The text was updated successfully, but these errors were encountered: