Answer the question
In order to leave comments, you need to log in
How to avoid hiding the scrollbar when opening modals?
8 product cards are generated on the page, naturally a scrollbar appears on the right, because they don't fit on the same screen.
But when opening any modal that creates a background shading using a position: fixed block, this scrollbar disappears and forces the cards to rebuild taking into account the free space on the right, which is annoying.
Is there any way to prevent the scrollbar from hiding?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question