-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
TouchableRipple ripple effects starts from the wrong location #2386
Comments
Couldn't find version numbers for the following packages in the issue:
Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3. The versions mentioned in the issue for the following packages differ from the latest versions on npm:
Can you verify that the issue still exists after upgrading to the latest versions of these packages? |
updated and problem still happens. It's also happening in the snack which I assume uses the latest versions by default. |
Couldn't find version numbers for the following packages in the issue:
Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3. |
The versions mentioned in the issue for the following packages differ from the latest versions on npm:
Can you verify that the issue still exists after upgrading to the latest versions of these packages? |
I came here to report this I made a screen recording and you can see where I'm tapping |
Hello 👋, this issue has been open for more than 2 months with no activity on it. If the issue is still present in the latest version, please leave a comment within 7 days to keep it open, otherwise it will be closed automatically. If you found a solution on workaround for the issue, please comment here for others to find. If this issue is critical for you, please consider sending a pull request to fix the issue. |
no solution and no workaround, waiting for it to be fixed in the library. |
same issue. Looks like it updates touch position after ripple, but expected before animation. |
Created a PR for the fix - facebook/react-native#31777 |
This has been fixed and released in react native 0.66. 🥳 |
There are 2 possible fixes:
|
Pressing a TouchableRipple sometimes starts the ripple effect from the wrong location
TouchableRipple should start from where the button is pressed.
https://snack.expo.io/gicfPGsuQ
Sorry I don't know how to make a video with where I press on my android phone. Happy to help out with this if you have instructions on how to do this. This is pretty easy to recreate by pressing alternating corners of the button. You will notice that the ripple sometimes comes out of the previous location.
What have you tried
I don't think the environment is relevant as this is reproducible in a snack.
https://snack.expo.io/gicfPGsuQ
The text was updated successfully, but these errors were encountered: