Comments (6)
@zyslife 谢谢啦 我在轮播图中使用了shouldComponentUpdate解决了header为轮播图问题 PureComponent好像判断不了
给轮播图添加一个props 通过shouldComponentUpdate 判定props来防止切换tab造成轮播图render()
from react-native-head-tab-view.
除了切换tab轮播图会有异常外也不能滑动轮播图滑动轮播图会切换tab轮播图也不能点击了
这里给TabView添加headerRespond={true}可以解决滑动点击问题
不知道切换tab怎么防止轮播图出现问题
from react-native-head-tab-view.
除了切换tab轮播图会有异常外也不能滑动轮播图滑动轮播图会切换tab轮播图也不能点击了
这里给TabView添加headerRespond={true}可以解决滑动点击问题
不知道切换tab怎么防止轮播图出现问题
@ngxu 你好,请问切换tab 具体是有什么问题?我没看出来
from react-native-head-tab-view.
@zyslife 比如轮播图正在过度动画中 切换tab 轮播图就没有过度动画了 或者切换tab后 轮播图直接换了一张 问题不大
from react-native-head-tab-view.
@zyslife 比如轮播图正在过度动画中 切换tab 轮播图就没有过度动画了 或者切换tab后 轮播图直接换了一张 问题不大
@ngxu 你可以尝试将轮播图封装到一个组件中,然后使用PureComponent,应该是可以解决该问题
from react-native-head-tab-view.
好的,那我关掉这个问题了哦~
from react-native-head-tab-view.
Related Issues (20)
- makeScrollTrans只调用一次 HOT 6
- ERROR TypeError: Cannot read property 'CollapsibleHeaderTabView' of undefined HOT 4
- iOS情况下HScrollView里面的点击事件失效
- This plugin is not applicable to @react-navigation/native-stack HOT 8
- 问题复现
- 安卓滚动的时候再触发滚动的话会重置初始化位置
- react-native-reanimated 2+ has bugs, can't use react-native-debugger, can only use flipper. This will make it impossible for us to debug the program properly HOT 3
- react native debugger not work if use react native remained 2+ HOT 2
- 使用react-native-tab-view-collapsible-header底部初始化会有白条 HOT 5
- 组件兼容性问题 HOT 3
- 全是bug 这库是闹着玩的吧 官方demo就没对齐过 HOT 4
- When height on renderScrollHeader full screen device not scroll with Android
- 是否可以支持其他 list 组件
- FlashList support ?
- Glitchy header offset position on Android - offsets might not be syncing properly
- demo 跑不起来,也没有文档
- How do I change the fade-in animation for the header and list? HOT 2
- onRefresh not working
- An error occurred while enabling lazy=true
- can not use onScroll, onScrollBeginDrag in HScrollView and HFlatList
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-head-tab-view.