From daf15dd109dbd186ba6971fed59a4a53f4d49e47 Mon Sep 17 00:00:00 2001 From: oleghasjanov Date: Thu, 13 Nov 2025 13:05:14 +0200 Subject: [PATCH 01/17] implement auto scroll up after pagination --- app/views/admin/auctions/_deposit_participants.html.erb | 2 +- app/views/admin/auctions/index.html.erb | 2 +- app/views/auctions/index.html.erb | 2 +- app/views/histories/index.html.erb | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/admin/auctions/_deposit_participants.html.erb b/app/views/admin/auctions/_deposit_participants.html.erb index f514a734a..c0cef0d64 100644 --- a/app/views/admin/auctions/_deposit_participants.html.erb +++ b/app/views/admin/auctions/_deposit_participants.html.erb @@ -60,7 +60,7 @@ <% end %> <% end %> - <%= turbo_frame_tag "results" do %> + <%= turbo_frame_tag "results", autoscroll: true, data: { autoscroll_block: "start", autoscroll_behavior: "smooth" } do %>
<% if @pagy.pages > 1 %>