Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ripple): use element coordinates instead of page coordinates #7446

Merged
merged 1 commit into from
Oct 3, 2017

Commits on Sep 30, 2017

  1. fix(ripple): use element coordinates instead of page coordinates

    Uses the `clientX` and `clientY` coordinates when creating a ripple, instead of taking `pageX`/`pageY` and subtracting the scroll position since the result is exactly the same. Using the client coordinates has the advantage of being simpler and not having to read the scroll position.
    
    Fixes angular#7436.
    crisbeto committed Sep 30, 2017
    Configuration menu
    Copy the full SHA
    8620ebd View commit details
    Browse the repository at this point in the history