An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix(table): preserve computed dropdown top position
Andras Bacsai48da7ee6e276
diff --git a/resources/views/components/table/dropdown.blade.php b/resources/views/components/table/dropdown.blade.phpindex b290128f97..c3ff1a2e5b 100644--- a/resources/views/components/table/dropdown.blade.php+++ b/resources/views/components/table/dropdown.blade.php@@ -36,7 +36,7 @@</div><div x-ref="panel" x-show="open" x-cloak :style="panelStyle"- class="listbox-panel fixed! top-auto! right-auto! bottom-auto! z-[90]! mt-0! {{ $panelClass }}" role="{{ $role }}"+ class="listbox-panel fixed! right-auto! bottom-auto! z-[90]! mt-0! {{ $panelClass }}" role="{{ $role }}"@if ($multiselectable) aria-multiselectable="true" @endif>{{ $slot }}</div>diff --git a/tests/Feature/TablePaginationLoadingTest.php b/tests/Feature/TablePaginationLoadingTest.phpindex d26a1a33da..49bb974001 100644--- a/tests/Feature/TablePaginationLoadingTest.php+++ b/tests/Feature/TablePaginationLoadingTest.php@@ -41,7 +41,8 @@ it('positions table dropdown panels outside overflowing containers', function ()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 () {