rachelandrew / cssgrid-ama

Ask me anything about CSS Grid Layout
328 stars 12 forks source link

Overflow and the visibility of opposite axis content #29

Closed gccumber closed 7 years ago

gccumber commented 7 years ago

Here is the scenario:

I have a container set with overflow-y: scroll; inside that container is a list with an item that, when clicked, will set a div below it to display: block; but I want to show that div outside of the container.

Heres a Codepen: http://codepen.io/gccumber/pen/dNePKQ

gccumber commented 7 years ago

The problem is that I can't display the pop-out w/o the content scrolling x or being hidden by default when y is set to scroll.