Forum Discussion
SamHill
7 months agoSuper Hero
Hi Ray, ok, I found a solution. It doesn't make a great deal of sense to me, but adding a slight delay (1/10th of a second) corrects the issue and brings the element into view:
var zoneone = document.querySelector('[data-acc-text="modone"]');
setTimeout(function()
{
zoneone.scrollIntoView(false);
},100);