+ 1
(Bug) ScrollTop giving 0 everyTime
i attached onscroll event to body using html "onscroll" attribute and logging the scrollTop property of body but getting 0 everytime https://code.sololearn.com/WtRDa5rUi0xx/?ref=app
1 Respuesta
0
Try scrollHeight