IjzerenHein / react-navigation-shared-element

React Navigation bindings for react-native-shared-element 💫
https://github.com/IjzerenHein/react-native-shared-element
MIT License
1.27k stars 124 forks source link

Positioning and overflow of shared elements #214

Open Navipro70 opened 2 years ago

Navipro70 commented 2 years ago

I have a card which translates on opening screen, and shine effect (view), which slides from bottom to top over card during the opening animation, and from top to bottom during closing.

Problem: When opening/closing animation starts, shine view which located at bottom and not visible because of overflow: 'hidden' appears over the card and starts moving without reference to overflow card.

https://user-images.githubusercontent.com/60893275/143313426-c441d16f-90e2-4869-8647-305bdbd11629.mp4