react-native-scrollable-tab-view 中嵌套了react-native-swiper产生的bug
2017-11-09 14:46
375 查看
前段时间用RN的时候遇到过这个问题用scrollable-tab-view(scrollableView)这个组件然后嵌套轮播swiper会出现,在scrollableView nitialPage={index}第index屏swiper中图片出不来,dom大致如下
render() { return ( <ScrollableTabView initialPage={1} renderTabBar={false}> <Swiper /> <Swiper /> <Swiper /> <Swiper /> <Swiper /> </ScrollableTabView> ); }
第一个<Swiper />中的图片渲染不出来,没有找到直接解决办法,所以当index屏时把swiper放在ScrollableTabView外面,作为替换方案,有知道的可以指点一下
相关文章推荐
- React Native带你实现scrollable-tab-view(二)
- 选项卡react-native-scrollable-tab-view
- 引用react-native-scrollable-tab-view 之后Cannot read property 'style' of undefined问题
- react-native-scrollable-tab-view和listview冲突解决
- 【React Native开发】- scrollable-tab-view的使用
- 选项卡react-native-scrollable-tab-view(入门篇)
- 选项卡react-native-scrollable-tab-view(进阶篇)
- react-native-scrollable-tab-view组件的简单使用
- React native 常见错误:unable to resolve module react-native-scrollable-tab-view
- react-native-scrollable-tab-view详解
- react-native-scrollable-tab-view详解
- ReactNative组件-react-native-scrollable-tab-view
- React:react-native-scrollable-tab-view
- React Native带你实现scrollable-tab-view(完结)
- react-native-scrollable-tab-view的版本坑
- RN之滑动TabBar(react-native-scrollable-tab-view)
- react-native-scrollable-tab-view 自定制 tabBar
- React Native之react-native-scrollable-tab-view详解
- React Native带你实现scrollable-tab-view(一)
- [React Native]react-native-scrollable-tab-view(入门篇)