fix(table): keep page-size dropdown within viewport (#11349)

This commit is contained in:
Andras Bacsai
2026-08-18 10:03:07 +02:00
committed by GitHub
2 changed files with 3 additions and 2 deletions
@@ -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>
+2 -1
View File
@@ -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 () {