Disabling turbo drive on body with `data-turbo="false"` stops frames from working

@janpeterka Jan Peterka
Mon, 03 Nov 2025 13:23:53 +0000

Until now, we used opt-in strategy on out web - we had Turbo.session.drive = false, and used turbo-frames and streams in some places.

Now we wanted to allow Turbo Drive on part of the web. So I tried to delete `Turbo.session.drive = false`, and set data-turbo=”#{modern_page?}” to enable and disable turbo drive on pages based on whether they are ready for it.
In the documentation data-turbo is described as controlling Turbo Drive, not Frames or Streams.
However, frames (didn’t check streams) stopped working if data-turbo=”false” is set on body of old page.

Now that might be expected behavior, but the documentation doesn’t match that.
Is the documentation wrong, or is my web misbehaving for some other reasons?