react-rails icon indicating copy to clipboard operation
react-rails copied to clipboard

Rails 7.1 Renders Partial Header

Open timscott opened this issue 2 years ago • 1 comments

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)
  • [email protected]
  • rails (7.1.2)
  • ruby 3.2.0

timscott avatar Jan 09 '24 20:01 timscott

@timscott can you make a simple repo to reproduce the issue? PRs welcome!

justin808 avatar Feb 09 '24 07:02 justin808