material icon indicating copy to clipboard operation
material copied to clipboard

$window.scrollY is always 0

Open pbshop1001 opened this issue 11 years ago • 1 comments

How can I get a Scroll y position? tag wraps main content. Even if I scroll to bottom, it always returns 0

pbshop1001 avatar May 27 '15 08:05 pbshop1001

@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.

rajathms avatar Jun 16 '17 06:06 rajathms