-
-
Notifications
You must be signed in to change notification settings - Fork 982
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
Odd behavior of content overflow inside touchable #2619
Comments
Hi @JoshuaJADaniel! I've just looked at it. It works on my Samsung S20+ and on Pixel 6 emulator. Also, the snack that you've provided works fine. Could you give some more information? Edit: I've tested that on newest version of Gesture Handler. Could you please upgrade it to 2.13.1 and check if it works? |
Hey @m-bert, just tested again today.
Any idea why this discrepancy may exist? |
@JoshuaJADaniel I believe the Expo API 49 (and thus Expo Go) still uses Gesture Handler 2.12. If you do a release build it will use the versions from your |
That could perhaps be the case, although sometimes bumping up or down a package version does impact the Expo Go behavior, which would imply that the |
That's correct, Expo Go is compiled with specific versions of libraries, but the JS code is generated by the bundler. So if changes were in the JS code they would be reflected in Expo Go, if they were in the native code, they would not. |
This issue was most likely fixed by this change. |
@j-piasecki @m-bert |
Description
When content within a touchable uses absolute positioning to move elements outside its boundaries, the overflowing content is hidden. In contrast, once the touchable is replaced with a view, the overflowing content becomes visible.
Steps to reproduce
Snack or a link to a repository
https://snack.expo.dev/@joshuajadaniel/overflow-hidden-inside-button
Gesture Handler version
~2.12.0
React Native version
0.72.3
Platforms
Android
JavaScript runtime
Hermes
Workflow
Expo managed workflow
Architecture
Paper (Old Architecture)
Build type
Debug mode
Device
Real device
Device model
Samsung Galaxy S22
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: