R
R
Ruslan Dasaev2020-05-06 10:27:30
css
Ruslan Dasaev, 2020-05-06 10:27:30

How to add scrollbar for mobile menu when expanding submenu?

Hello colleagues. Faced such a problem: here , when you open the mobile menu and expand the submenu (click on the "catalog"), the page itself scrolls. I removed the page scroll (added the position: fixed property to the fixedPosition class), but when the menu is closed, the page jumps to the very top, while the main problem (the absence of a scroll on the menu) could not be solved. The second day I struggle with this problem, what are the solutions?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
wyzemind, 2020-05-06
@Cloud47

For the block where the scroll occurs, replace min-height with height

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question