F
F
F1eX2020-09-10 05:16:13
Layout
F1eX, 2020-09-10 05:16:13

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

1 answer(s)
A
Akunin94, 2020-09-10
@Akunin94

Check and - there should be a class being added that has the css property "overflow: hidden" or something like that. Break this property and that's it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question