document body scrolltop not working in safari

 

 

 

 

Anybody know how to get .scrollTop() to work in Safari Mobile? I think youre trying to solve things in the wrong way. Just make sure your form fields have font-size: 16px on mobile viewports, this way Safari wont zoom in. In Safari the sideScroll is somewhat working but the the scrollTop not at all. This is what I am using(html) (body) (document) (window). or any compination of those but nothing is working for me. In Safari the sideScroll is somewhat working but the the scrollTop not at all. This is what I am using(html) (body) (document) (window). or any compination of those but nothing is working for me. Again, the below does work in Firefox but only partially works in Chrome and Safari.