material
material copied to clipboard
$window.scrollY is always 0
How can I get a Scroll y position?
@pbshop1001 you got the solution for this issue, I'm facing the same.
It is something to do with angular-material .
I tried in different projects of angular. This issue is with the project which has Angular material .
To test i uninstalled Angular-material , it works , it gives proper value for $window.scrollY
I thought of reopening this issue.