Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rails 7.1 Renders Partial Header #1329

Open
timscott opened this issue Jan 9, 2024 · 1 comment
Open

Rails 7.1 Renders Partial Header #1329

timscott opened this issue Jan 9, 2024 · 1 comment

Comments

@timscott
Copy link

timscott commented Jan 9, 2024

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
@justin808
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants