From 48da7ee6e2764e28554cea7e691683edde364001 Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Tue, 18 Aug 2026 10:02:28 +0200 Subject: [PATCH] fix(table): preserve computed dropdown top position --- resources/views/components/table/dropdown.blade.php | 2 +- tests/Feature/TablePaginationLoadingTest.php | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/resources/views/components/table/dropdown.blade.php b/resources/views/components/table/dropdown.blade.php index b290128f9..c3ff1a2e5 100644 --- a/resources/views/components/table/dropdown.blade.php +++ b/resources/views/components/table/dropdown.blade.php @@ -36,7 +36,7 @@
{{ $slot }}
diff --git a/tests/Feature/TablePaginationLoadingTest.php b/tests/Feature/TablePaginationLoadingTest.php index d26a1a33d..49bb97400 100644 --- a/tests/Feature/TablePaginationLoadingTest.php +++ b/tests/Feature/TablePaginationLoadingTest.php @@ -41,7 +41,8 @@ expect($html) ->toContain('position: fixed') ->toContain('getBoundingClientRect()') - ->toContain('x-on:scroll.window'); + ->toContain('x-on:scroll.window') + ->not->toContain('top-auto!'); }); it('renders compact client-side pagination', function () {