fix: avoid content shift caused by scrollbar
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
{# The scroll container itself must survive the htmx refresh — only its contents
|
||||
are swapped, so assets/loading.js can restore the scroll position. #}
|
||||
<div id="booking-form"
|
||||
class="flex-1 overflow-y-auto px-4 lg:px-8 py-8"
|
||||
class="flex-1 overflow-y-auto scroll-stable px-4 lg:px-8 py-8"
|
||||
hx-post="{{ path('app_groups_booking_step_2_refresh') }}"
|
||||
hx-trigger="change delay:300ms"
|
||||
hx-target="#booking-form"
|
||||
|
||||
Reference in New Issue
Block a user