简体   繁体   English

垂直幻灯片在本机视图

[英]Vertical slide View in react-native

I need to do vertical slide View from bottom to top as in the screenshot below, I need to pull View, but I don't know how to do it. 我需要从下到上垂直滑动View,如下图所示,我需要拉View,但是我不知道该怎么做。 Maybe there is some kind of library? 也许有某种图书馆? 在此处输入图片说明

you can use react-native-sliding-up-down-panel for this.. here is git link:-- https://github.com/Abhijeet-Ashapure/react-native-sliding-up-down-panel or if you want some custom animation panel go for animation api or you may check react native PanResponder to make custom touch responding view. 您可以为此使用react-native-sliding-up-down-panel ..这是git链接:-https: //github.com/Abhijeet-Ashapure/react-native-sliding-up-down-panel或您想为动画api使用一些自定义动画面板,或者您可以检查react native PanResponder以创建自定义触摸响应视图。

To get your image like effect you can check react-native-modalize library.. 要获得类似效果的图像,可以检查react-native-modalize库。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM