You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use infinite scroll with a turbo frame, it works constantly when moving through pages. When Morph is updated on the page, Turbo_frame_tag is completely reloaded. If I use data-turbo-permanent then scrolling is called repeatedly. refresh="morph" doesn't work
posts_controller.rb
def index
@posts = Post.paginate(page: params[:page], per_page: 4) # gem will_paginate
end
I use infinite scroll with a turbo frame, it works constantly when moving through pages. When Morph is updated on the page, Turbo_frame_tag is completely reloaded. If I use data-turbo-permanent then scrolling is called repeatedly. refresh="morph" doesn't work
posts_controller.rb
posts/ index.html.erb
posts/ index.turbo_stream.erb
The text was updated successfully, but these errors were encountered: