Closed luky1984 closed 5 years ago
ok it was not this project issue but my project issue. i had absolute positioned element in relative positioned element, then i had body and html height 100% and it caused window.scrollTo() not work, thus also this code stopped working. if you have it like me, remove body and html 100% height and make the relative parent height same as absolute child height. then it will work again
It suddendly stopped working dont know why. Even the sample code doesnt work
but the demos here still work?? http://gabegsell.com/anchors/