Skip to content

Rails 7.1 Renders Partial Header #1329

Open
@timscott

Description

@timscott

Steps to reproduce

Upgrade Rails to 7.1

Expected behavior

Don't render header as text

Actual behavior

After upgrading to Rails 7.1 routes rendering views with = react_component are rendering the beginning part of the associated master as plain text at the top of the body and before the pack script tag. It appears to be rendering the layout template up to the line that yields the content.

System configuration

  • sprockets (4.1.1)
  • sprockets-rails (3.4.2)
  • react-rails (2.6.2), react-rails (3.1.1)
  • react_ujs@3.1.1
  • rails (7.1.2)
  • ruby 3.2.0

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