Menu
Hey,
in my script I am adding div elements dynamically to the DOM. After creation I want the browser to scroll them into view using JS function scrollIntoView.
The problem is that calling scrollIntoView right after calling document.body.appendChild(newElement) doesn’t work.
Looking forward to your help!