Topic: The last row action menu is clipped by the table scroll area
cobaltWorks82
free
asked 1 week ago
The action dropdown opens at the correct position, but its lower items disappear behind the bottom edge of our table container. Increasing z-index does not make those items visible. The problem happens only when the menu is near the last visible row.
The wrapper has a fixed height and overflow: auto. I have not customized the dropdown positioning. Is there a way to tell whether the component is placed incorrectly or simply being clipped by this container?
Mateusz Lazaru
staff
answered 1 week ago
Temporarily remove the wrapper's overflow rule in developer tools. If the missing items become visible without the menu moving, the scroll container is clipping its descendant; a higher z-index does not escape that clipping boundary.
Please send the dropdown JSX and the surrounding container markup in a minimal reproduction. Then we can check the component's supported placement or rendering options for your layout. Avoid making the entire table overflow visible permanently if horizontal or vertical scrolling is required.
https://mdbootstrap.com/docs/react/components/dropdowns/
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Free
- Premium support: No
- Technology: MDB React
- MDB Version: MDB5 9.0.0
- Device: Desktop
- Browser: Edge
- OS: Windows 11
- Provided sample code: No
- Provided link: No