react-native-scrollable-tab-view
react-native-scrollable-tab-view copied to clipboard
Tabbed navigation that you can swipe between, each tab can have its own ScrollView and maintain its own scroll position between swipes. Pleasantly animated. Customizable tab bar
- [ ] I have searched [existing issues](https://github.com/happypancake/react-native-scrollable-tab-view/issues) - [ ] I am using the [latest scrollable tab view version](https://www.npmjs.com/package/react-native-scrollable-tab-view) ## Steps to Reproduce ## Expected Behavior ## Actual Behavior
Android: Invariant Violation requireNativeComponent: "RNCViewPager" was ton found in the UIManager
- [x] I have searched [existing issues](https://github.com/happypancake/react-native-scrollable-tab-view/issues) - [x] I am using the [latest scrollable tab view version](https://www.npmjs.com/package/react-native-scrollable-tab-view) I've just update react-native-scrollable-tab-view to 1.0.0 by yarn. But still have error....
- [x] I have searched [existing issues](https://github.com/happypancake/react-native-scrollable-tab-view/issues) - [x] I am using the [latest scrollable tab view version](https://www.npmjs.com/package/react-native-scrollable-tab-view) ## Steps to Reproduce ## Expected Behavior ## Actual Behavior
### 问题:安卓偶现Tab内容为空 问题表现:页面有3个Tab,切换到最后一个Tab3,点击Tab3内的按钮,跳转其他页面,过一段时间(大概10分钟左右),返回Tab3页面,发现仅仅Tab3页面有内容,Tab1和Tab2页面只有tab标题,没有内容,问题不是必现。 阅读源码后发现,怀疑与下面这句代码有关,因为我遇到的问题和三目运算符走到了else的表现情况一模一样 代码的位置:https://github.com/ptomasroos/react-native-scrollable-tab-view/blob/a7f46de184123be9703c57b0a7618ae0557c8a87/index.js#L290 ``` _shouldRenderSceneKey(idx, currentPageKey) { return true; ``` 上面这个函数,也直接写死了返回`return true`或则`prerenderingSiblingsNumber`会给一个很大的数,也就是所有的页面都会被渲染,不会出现页面不渲染的情况。 **有遇到同样问题的吗,该怎么解决呢?** **另外:请问什么情况下,`_composeScenes`函数中的`this._keyExists(this.state.sceneKeys, key)`会为false呢?** 欢迎交流。
Legacy string ref API was deprecated. The string ref would throw error and crash app in React 16.3 and above. Reference: https://stackoverflow.com/a/53042548/5082449
On IOS devices, swipe back gesture couldn't work properly when I do it on the react-native-scrollable-tab-view area, and I know a horizontal ScrollView is the container widget of react-native-scrollable-tab-view, so...
Hi, I have a ScrollableTabView component in which I have buttons. When sometimes I want to scroll to another tab I accidentally click the button that opens a new window....
React version: 16.0.0-alpha.6 React native version: 0.43.3 Animated: `useNativeDriver` is not supported because the native animated module is missing. Falling back to JS-based animation. To resolve this, add `RCTAnimation` module...
- [ ] I have searched [existing issues](https://github.com/happypancake/react-native-scrollable-tab-view/issues) - [ ] I am using the [latest scrollable tab view version](https://www.npmjs.com/package/react-native-scrollable-tab-view) ## Steps to Reproduce ## Expected Behavior ## Actual Behavior
- [x] I have searched [existing issues](https://github.com/happypancake/react-native-scrollable-tab-view/issues) - [x] I am using the [latest scrollable tab view version](https://www.npmjs.com/package/react-native-scrollable-tab-view) ## Steps to Reproduce ## Expected Behavior ## Actual Behavior