-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
Button ripples too often on keydown in chrome 49 #16366
Comments
This behavior seems to be reproducible cross-browsers on Windows (even with Firefox and Chrome latest). I can't reproduce it on macOS. I'm wondering, do we even need this animation? Why does it only trigger on Space and not Enter? What about removing it? |
Visual feedback.
The current behavior matches native buttons.
See first point. |
To summarize:
The ripple is our
I guess macOS is your actual OS while windows is run in browserstack? Because in browserstack I have issues in chrome 75 as well but not if I run it on my actual OS. Maybe it's just a browserstack issue where it sends keydown-up-down-up instead of keydown-down-up. |
@eps1lon Correct. My real OS is macOS, yours is Linux, Josh is Windows. Great complementarity! Let's ask for help :) @joshwooding Could you try what's the behavior on Windows? We don't have access to a real environment. It would help, thanks! |
I have a dual boot setup for that purpose. It works on win and linux. I'm wondering why the other tests passed though. Probably timing related. |
Oh nice! |
Pretty sure this is just a browser stack issue. It seems like the events work fine if coming from inside the browser. The failure was caused by a missing event.key in chrome 49. Basically same issue but different cause: One browserstack the other old browsers. |
Same browser, same OS: only browserstack has the issue |
Expected Behavior 🤔
When a Button is focused a repeating keydown those not restart the ripple
Current Behavior 😯
Ripple restarts on every keydown fired
Steps to Reproduce 🕹
Link: https://material-ui.com/components/buttons/#contained-buttons
Your Environment 🌎
The text was updated successfully, but these errors were encountered: