Hi! i update gem “turbo-rails”, “~> 2.0”
after not work scroll preserve update page
why?
Rails v 7.1.2
application.html.erb
<head>
........
<meta name="turbo-refresh-method" content="morph">
<meta name="turbo-refresh-scroll" content="preserve">
<%= yield(:head) %>
</head>
or
<%= turbo_refreshes_with method: :morph, scroll: :preserve %>
<%= yield :head %>
not work scroll preserve
importmap.rb
pin "@hotwired/turbo-rails", to: "turbo.min.js", preload: true
application.js
import "@hotwired/turbo-rails"
import "controllers"
import "trix"
import "@rails/actiontext"
import "controllers/trix_editor"
Please help!