I cannot seem to get predictable behavior for this…I keep banging my head up against <a> links firing as HTML, not as turbo_stream requests. I’ve tried using link_to tags, setting the method as :get, and including a specific target to point to the enclosing turbo_frame.
Hm, that is puzzling. I wonder if something else is disabling turbo somewhere else on the page (e.g. data-turbo="false"). If more of the code was shared (e.g. github or public/live) it would help to troubleshoot.
Without data-turbo='false' the get form fires as an HTML request. But since the reply doesn’t match the turbo-frame (this route redirects to root), the turbo-frame is removed from the dom.
In your browser, open the developer tools and click the network tab. You can usually see “All” request, or filter them by type (doc, image, css, js, fetch, etc). Standard web page requests are “doc”, turbo sends request using fetch. If clicking on the link request via doc, turbo is not handling the link click. If fetch, then turbo is handling the link, but you are dealing with other issues.