fix(table): preserve computed dropdown top position
This commit is contained in:
parent
cd2c3f3431
commit
48da7ee6e2
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>
|
||||
|
|
|
|||
|
|
@ -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 () {
|
||||
|
|
|
|||
Loading…
Reference in a new issue