How could i make pagination with button and swiper in react native - react-native

I tried to do with ScrollView and transform and scrollTo but i couldnt figure it out and i dont want to create with react-navigation
i want to create a fixed bar at the top and two animated buttons in it and when button touched go second screen and play button animation and when screen swiped play button animation also
like this and screen has to be slideable too

Related

Hide vertical scroll event flatlist in Modal - React-Native

I need to stop scroll vertical event in flatlist (In a Modal view).
Please check video - red color is flatlist and full screen is modal in react-navigation. Need to stop vertical touch event in flatlist. (Other part of modal need to enable gesture).
https://drive.google.com/file/d/1hXkbIH4lnjrIRREZ45KRAENEOllOLNjW/view?usp=sharing

How to make custom TabBar active to center of the screen in scroll view using react native?

I wanna make my active tabBar to be center the screen.
Here code full customize tabBar.
https://github.com/Heanphearak/react-native-deploy/blob/main/App.js

How can I trigger the default swipe events of multiple components with a swipe from anywhere on the screen in react native?

I am using react native with expo. I have created a Carousel with react-native-snap-carousel and a material-top-tab-navigator with react-navigation 6.
My goal is, that when I swipe through the tab navigator the carousel should also detect the swipe and react as if it would get swiped itself. So whereever I swipe on the screen inside the tab navigator, the carousel should join the swipe action so to say.
Right now I can obviously only swipe through it when I place my finger inside its borders. Should I use react-native-gesture-handler or is there some way to connect or bundle the two events together so that when one component gets swiped, the same swipe gets apllied to the other component?

React-native-navigation animate popping a screen?

So I have a react-native app which is using react-native-navigation.
Whenever I click a card in my app, it pushes me the card screen.
What I want to achieve is the following: when swiping down from that screen, as you swipe down the screen gets smaller and the other one is in the background, but I haven't found anything that can help me with that, any packages? Also, I'd have to pop the current screen to have the other one the background, but if I pop it, the current screen can't stay and get smaller as i swipe down.
So basically I need to animate a component pop.
If you haven't figured it out yet, you could show the card screen as an overlay or modal and add a swipe-down gesture to the Container component of the screen and when it reaches the bottom, you could dismissOverlay or dismissModal with no animation.

How to push a modal screen using ReactNavigation?

I'm using ReactNavigation with a StackNavigator for my screens. From time to time, I need to push a modal screen which the user cannot hit "Back" for. It should also transition from bottom to top (similar to native modal controllers in iOS). I'm not sure how to use the navigate method to do so.
I am not familiar with ReactNavigation (although it looks nice, I'll take a look), but ReactNative already has a Modal component that does what you want (bottom top is the slide animation that has by default: Modal