[openstreetmap/openstreetmap-website] Stop Turbo from interfering with our routing (PR #7240)
Marwin Hochfelsner
notifications at github.com
Sun Jul 19 10:22:54 UTC 2026
hlfan left a comment (openstreetmap/openstreetmap-website#7240)
I don't think so...
I myself only stumbled on this in the Turbo js itself after seeing turbo data injected into some states.
The search for `[^"]turbo:` then led me to the history class and that it's being started even though we only want our own state system to run.
But afterwards I've found the same line in https://www.norydev.com/writing/from-jquery-to-hotwire-lessons-of-a-successful-migration, so it seems not that questionable.
The documentation intended method would probably be for router.js to call Turbo instead of `window.history` itself but that has been too difficult to figure out for me.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/7240#issuecomment-5015353001
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/7240/c5015353001 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260719/a54e3926/attachment.htm>
More information about the rails-dev
mailing list