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

You are loading Turbo from a <script> element inside the <body> element #2675

Open
thebravoman opened this issue Oct 6, 2024 · 1 comment
Labels
bug breakages in functionality that is implemented

Comments

@thebravoman
Copy link

  • What were you trying to do?
    Use administate by default.

  • What did you end up with (logs, or, even better, example apps are great!)?
    In the log of the browser we get the error You are loading Turbo from a <script> element inside the element

  • What versions are you running?

    • Rails 7.1.2
    • administrate - 1.0.0.beta1

I would consider this an issue as if I use turbo-rails in my application.js and also in administrate/application.js there seems to be some constant reloading of the page that is going on.

Screenshot 2024-10-06 at 16 37 43
@thebravoman thebravoman added the bug breakages in functionality that is implemented label Oct 6, 2024
@nickcharlton
Copy link
Member

Between beta1 and beta2, we switched to using turbo ourselves.

Could you give beta2 a go and see if it still causes the same problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug breakages in functionality that is implemented
Projects
None yet
Development

No branches or pull requests

2 participants