You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is in relation to #648 which made Turbo.session.drive only affect links outside of <turbo-frame> tags.
I think there is a use case for a flag that would also disable link hijacking within <turbo-frames> without having to set data-turbo="false" or target="_top" to all links within the frame tag. I maintain a large project that needs that behavior and I'm unable to upgrade Turbo because of this change.
Based on comments in that PR from @hidr0 and @guillaumewrobel it seems there's others who would benefit from such a flag as well.
Thank you.
Note: I had originally reported this as bug #826, closed since I realized it was not a bug.
The text was updated successfully, but these errors were encountered:
You can set data-turbo="false" not only on individual links but also to any parent DOM element, for which all child elements should have link hijacking disabled. This means, you can set the attribute to a frame tag <turbo-frame data-turbo="false"> to disable it for all links in a particular frame, or set <body data-turbo="false"> to disable it also for all frames on the page.
This is in relation to #648 which made
Turbo.session.drive
only affect links outside of<turbo-frame>
tags.I think there is a use case for a flag that would also disable link hijacking within
<turbo-frames>
without having to setdata-turbo="false"
ortarget="_top"
to all links within the frame tag. I maintain a large project that needs that behavior and I'm unable to upgrade Turbo because of this change.Based on comments in that PR from @hidr0 and @guillaumewrobel it seems there's others who would benefit from such a flag as well.
Thank you.
Note: I had originally reported this as bug #826, closed since I realized it was not a bug.
The text was updated successfully, but these errors were encountered: