UI Bug: Select Filter with Multiple Options Hidden by overflow: hidden CSS in FiltersLayout::BelowContent
Package
filament/filament
Package Version
v3.2.97
Laravel Version
v11.19.0
Livewire Version
v3.5.4
PHP Version
PHP 8.2.22
Problem description
When using the Select filter component with multiple options enabled in Filament, and setting the filter layout to FiltersLayout::BelowContent, the dropdown containing the options is hidden when placed near the bottom of the viewport. This issue makes it impossible to interact with the dropdown.
Expected behavior
The dropdown should either open above the input field if there’s no space below or adjust its position to ensure it’s visible.
Steps to reproduce
- Set up a Filament table with filters.
- Use a Select filter with multiple options enabled.
- Set the filter layout to FiltersLayout::BelowContent.
- Place the filter near the bottom of the viewport.
- Attempt to open the dropdown.
Reproduction repository (issue will be closed if this is not valid)
https://github.com/ZayRTun/filament-issue
Relevant log output
No response
I confirm this issue
The table has overflow-hidden to ensure that column headers etc do not overflow it, but this causes the issue
The choices.js package we use for selects in v3 uses absolute for positioning dropdowns, which is affected by hidden overflows
I replaced the select in v4 with a custom one that uses fixed positioning, so the issue is solved by #16638 in v4