M
M
MrFavour2020-01-05 14:49:26
css
MrFavour, 2020-01-05 14:49:26

Inverted flexbox not scrolling in Mozila?

Hello.
I understand that the answer is most likely very simple, but I can not understand why?
There is a block:

overflow: hidden; 
position: relative;
width: 70%; 
height: 80vh;

It has an absolutely positioned block, but reversed by flex on the contrary
. I will not write all the properties, the block is almost the size of the parent.
position: absolute;
display: flex;
flex-direction: column-reverse;
overflow-y: auto;

In Chrome, everything works correctly, but in Mozila, the scroll does not appear and, accordingly, what is hidden does not scroll.
If I do flex-direction: column; , then everything scrolls, and if reverse, then no. Why?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question