0

(React Native) In bottom half modal, transparent background also sliding along with modal animationType='slide'

I implemented a bottom half modal view in react native, which is sliding in from the bottom . I set the background of the modal view to transparent so the previous view is still visible, but the modal view is in focus. This is working fine and once it is open it also looks how I want it to look. My problem is, that the transparent background is also sliding in from the background and this does not look like a native implementation at all. What I want to achieve is, that the transparent background just appears while the modal view slides in from the bottom. Any idea on how to solve this?

9th Aug 2022, 7:17 AM
Tushar Deora
Tushar Deora - avatar
0 odpowiedzi