-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
[ButtonBase] Check before accessing rippleRef.current #20816
Conversation
@ianberinger Do you have a reproduction? What version are you using? See #19667 on why we would likely not accept the change without a failing test case. |
Details of bundle changes.Comparing: ceb7cda...438cc73 Details of page changes
|
Ah, I see. I don't have anything to reproduce this consistently. In this case, we are using
I have a hunch that it's timing related (ie. |
Can you share the Sentry report somehow? Might be interesting to know what browser/os causes this. Also: What react version is this? |
@ianberinger Let us know if you find a reproduction :) |
Do you use |
Caught this TypeError with Sentry. This PR adds a check before accessing
rippleRef.current
.