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

Navigation back freezes the app #92

Open
arlee17 opened this issue Feb 28, 2025 · 0 comments
Open

Navigation back freezes the app #92

arlee17 opened this issue Feb 28, 2025 · 0 comments

Comments

@arlee17
Copy link

arlee17 commented Feb 28, 2025

Hello,

in my rails web I use several javascript libraries among which Alpine.js and Swiper.js

When I navigate back to the previous screen ( action .restore) the app freezes and the spinner keeps thinking and thinking.
Everything stays frozen.

Among my metatags I have :

%meta{ name: “turbo-visit-control”, content: “reload”}

because as the Turbo documentation says this can be a workaround for Javascript libraries.

If I remove the meta-tag the Javascript libraries don't load, if I put it back the app freezes.

Putting data-turbo-track : reload in the assets doesn't work either (this was working with turbo-ios) .

Here is another similar case: #33

Any fix for this?

Maybe I can handle somehow the .restore action in the func handle(proposal: VisitProposal) -> ProposalResult {} function?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant