Answer the question
In order to leave comments, you need to log in
How to make the page scroll after the block appears?
I made a semblance of an accordion, you poke a body on the title, there are still tabs. Since the components are quite large, I would like to scroll the page so that the selected component is as visible as possible. But the scroll event fires before the element appears on the page, and the content of some elements is loaded dynamically. How to solve this problem?
Answer the question
In order to leave comments, you need to log in
After all, there must be some kind of callbacks for loading elements, so insert scrolling into them
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question