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

Animated.View's nested elements can not overflow when transformed #6713

Open
Glazzes opened this issue Nov 16, 2024 · 1 comment
Open

Animated.View's nested elements can not overflow when transformed #6713

Glazzes opened this issue Nov 16, 2024 · 1 comment
Labels
Platform: Android This issue is specific to Android Repro provided A reproduction with a snippet of code, snack or repo is provided

Comments

@Glazzes
Copy link

Glazzes commented Nov 16, 2024

Description

Hello there, I was testing my pinch-to-zoom library with the new version of the Expo SDK (52), so I noticed this strange behavior with Animated.View component, if you nest any element into an Animated.View and apply any transformations to such element, the Animated.View will behave as if it has the overflow style property set to hidden.

One thing to note is that this happens on both real android devices and android emulator, I can't tell whether this happens on iOS or not as I do not own an iphone.

Expo 51 Expo 52

Steps to reproduce

  • Run the code in the snack with Expo SDK 52 on Android.
  • Do nothing as it's a rendering problem.
  • Expected behavior is images to be rendered the same way they're on the snack (currently running SDK 51) on Expo SDK 52.

Snack or a link to a repository

https://snack.expo.dev/cS1TT45XmhC3iPJZlwMCG

Reanimated version

3.16.1

React Native version

0.76.1

Platforms

Android

JavaScript runtime

Hermes

Workflow

Expo Go

Architecture

Fabric (New Architecture)

Build type

Debug app & dev bundle

Device

Real device

Device model

Alcatel 5054R (Android 7.1)

Acknowledgements

Yes

@github-actions github-actions bot added Platform: Android This issue is specific to Android Repro provided A reproduction with a snippet of code, snack or repo is provided labels Nov 16, 2024
@Glazzes
Copy link
Author

Glazzes commented Nov 17, 2024

I'd like to add that GestureHandlerRootView is affected by this issue as well.

@Glazzes Glazzes changed the title Animated.View nested elements can not overflow when transformed Animated.View's nested elements can not overflow when transformed Nov 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Platform: Android This issue is specific to Android Repro provided A reproduction with a snippet of code, snack or repo is provided
Projects
None yet
Development

No branches or pull requests

1 participant