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

[MDC-RIPPLE] Ripple fires twice if page is zoomed in #7469

Open
MaximBalaganskiy opened this issue Nov 21, 2021 · 1 comment
Open

[MDC-RIPPLE] Ripple fires twice if page is zoomed in #7469

MaximBalaganskiy opened this issue Nov 21, 2021 · 1 comment
Labels

Comments

@MaximBalaganskiy
Copy link
Contributor

Bug report

Ripple is rendered incorrectly on iOS devices
Original closed issue #7207.

Steps to reproduce

  1. Go to https://material.io/components/buttons#interactive-demo
  2. Click on the button

Actual behavior

The ripple is rendered in two places

Expected behavior

The ripple expands from a single point

Screenshots

20210629_093851000_iOS

Your Environment:

Software Version(s)
Browser Chrome
Operating System iOS

Additional context

Might be related to #6357.
The issue does not manifest in safari.
Happens to any ripple, not just buttons.

@joyzhong
Copy link
Contributor

joyzhong commented Nov 24, 2021

Verified that this is reproducible on Chrome/iOS but not Safari/iOS or other platforms (Chrome/MacOS, Firefox).

I was able to create a minimal reproduction in https://codepen.io/joyzhong/pen/JjyQZXR - this seems like a Chrome/iOS bug where, when animating an element, the element first takes on the original position rather than the position defined in the from clause of a keyframe animation. I've filed https://bugs.webkit.org/show_bug.cgi?id=233479 on Webkit.

Unclear if there's a workaround in the meantime (setting an inline style transform: translate(100px,100px) on the circle element when adding the animate class did not work).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants