On my webpage, I have a div
with the CSS property overflow-y: scroll
. The page also features several popup modals and overlays. Strangely, the scrollbar of the div appears on top of these overlays instead of behind them. I attempted to resolve this issue by increasing the z-index of the overlays, but it did not solve the problem. Additionally, the scrollbar does not respond to hover events when positioned over the modals.