software-mansion / react-native-reanimated

React Native's Animated library reimplemented
https://docs.swmansion.com/react-native-reanimated/
MIT License
9.09k stars 1.32k forks source link

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

Open Glazzes opened 5 days ago

Glazzes commented 5 days ago

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

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

Glazzes commented 4 days ago

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