Note: I have thoroughly searched related questions on stackoverflow and this is not a duplicate question.
In my code, I have a `div` with `overflow-x: scroll`, but I want the content in the `div` to be visible in the `y` direction. The issue I'm facing is that when the `y` overflow occurs, the content inside the absolute-positioned `div` gets hidden.
Below is a simplified version of the HTML and CSS structure I am working with in ReactJS:
/* CSS code snippet */ .zooming-bar { /* CSS properties */ } .scrollable-bar { /* CSS properties */ } .buttons-block { /* CSS properties */ } /* more CSS properties... */ /* HTML code snippet */
I am looking to make the content inside the `.zooming-bar` fully visible despite the overflow. How can I achieve this while keeping `overflow-x` as scroll and `overflow-y` as visible?
Refer to the screenshot for the desired look of the popup with working scroll:
https://i.sstatic.net/ZL2gk.pngImportant: I need the hidden part of the popup to overlap the above content without adding extra padding or margin to any related divs.