Comments (2)
i need this... because it could be useful to control "others" information component such as segmentControl, onChangePage seems left behind to fire control on other component, it sacrifices the UX
from react-native-viewpager.
Maybe we can use the prop named hasTouch
for these user case.
I found that in the source code 👉 https://github.com/race604/react-native-viewpager/blob/master/ViewPager.js#L99.
And...
It should be documented.
😢
[edit]
Sorry guys, I just realized that hasTouch
is only works with autoPlay=false
.
hasTouch
wont be called when we set autoPlay
to true.
sigh.
from react-native-viewpager.
Related Issues (20)
- 设置了viewpager的高度后,轮播图的点还是掉在最下面
- React.PropTypes changed to prop-types library since React v15.5
- 为什么我的页面渲染不出来。。。 HOT 1
- Mixed views from different pages HOT 1
- undefined is note an object(evaluating 'React.propTypes.func') HOT 12
- 一张或者两张图片,切换就出问题了,会闪白屏
- 崩溃了 HOT 1
- 轮播图每张的轮播时间 || 轮播图的时间间隔
- How can we add forward arrow and backward arrow to swipe the viewpager
- Cannot read property 'func' of undefined HOT 3
- 【BUGS】数据源 第一次设定之后就不能刷新了吗? HOT 2
- The current indicator icon is on the top of indicators, I see the code, maybe your curDot style should replace margin with marginLeft and marginRight. HOT 1
- TypeError:undefined is not an object(evaluating 'new _reactNativeViewpage2.default.DataSoure') HOT 5
- Bug, when auto-rotating, causes InputText to lose focus. HOT 1
- Go to Next and Previous Page By Click
- 不能用 各种报错
- 不能用的可以换成 react native swiper
- After updating react-native to 0.61.0 , this library is not working. HOT 2
- how to support RTL?
- PanResponder vs ViewPager
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-viewpager.