20-03-2026 14:00 via smashingmagazine.com

Dropdowns Inside Scrollable Containers: Why They Break And How To Fix Them Properly

The scenario is almost always the same, which is a data table inside a scrollable container. Every row has an action menu, a small dropdown with some options, like Edit, Duplicate, and Delete. You build it, it seems to work perfectly in isolation, and then someone puts it inside that scrollable div and things fall apart. I’ve seen this exact bug in three different codebases: the container, the stack, and the framework, all different. The bug, though, is totally identical.
The dropdown gets
Read more »