'Window scroll effect like Shazam

I need to create an effect of opening and closing a component where the opening/closing follows the swipe of the finger, exactly as it works in Shazan. I confess that I do not know the name that would be given to this effect.

I got a similar result with react-native-swipe-gestures, but I need something smoother.

Below I leave a gif with the result I need to achieve

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source