Skip to content

Turbo doesn't send Turbo-Frame header when frame's src is updated #1191

Open
@steerio

Description

@steerio

According to the documentation, when a request is made to update a Turbo Frame, the Turbo-Frame HTTP header should be set to the ID of that frame.

This is not happening in Turbo 8.0.2 (delivered with Turbo-Rails 2.0.3).

To reproduce:

  • Get hold of a Turbo Frame that has an ID (in a Stimulus controller or in the Javascript console).
  • Issue frame.src = "/some-url".
  • Observe that the resulting request has no Turbo-Frame header.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions