Dropdown loses alignment after horizontal table scrolling


Topic: Dropdown loses alignment after horizontal table scrolling

Isla Reed asked 2 weeks ago

In our RTL admin table, the action menu overlaps nearby content after scrolling sideways. It should remain anchored to its row button.

Is table overflow relevant to placement?


Arkadiusz Idzikowski staff answered 2 weeks ago

Yes, the scrolling wrapper matters. Check whether the dropdown menu is inside the element that scrolls or is rendered elsewhere, and note whether opening it after scrolling gives a different result from scrolling an already open menu. Those cases point to different positioning updates.

Please provide the wrapper's overflow, position, and transform rules together with a short reproduction. As an isolation test, try the same table without the custom overflow wrapper. Avoid adding a fixed pixel offset, because it usually fails again at another scroll position or viewport width.

https://mdbootstrap.com/docs/angular/components/dropdowns/


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: MDB5 9.0.0
  • Device: Desktop
  • Browser: Firefox
  • OS: Windows 11
  • Provided sample code: No
  • Provided link: No