You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a issues with only ios devices: When i scroll down to last view and continue scroll, it will show white screen like this video https://drive.google.com/file/d/1oeezoBpSy_EgLwYLK2FxQXeGZT87kdge/view
Do you have any solution to fix this problem.
Something like: Show alert ( Cannot load more ... )
The text was updated successfully, but these errors were encountered:
fireantlabs
changed the title
Blank Screen when sroll over last view
Blank Screen when scroll over last view
May 4, 2018
In iOS, ScrollView from react-native support vertical pagination. If want to support vertical pagination in both Android and iOS, can use Platform to determine which OS is running. See below:
importReactfrom'react';import{Platform,StyleSheet,Text,View,Dimensions,ScrollView}from'react-native';importVerticalViewPagerfrom'react-native-vertical-view-pager';const{ width, height }=Dimensions.get('window');exportdefaultclassAppextendsReact.Component{render(){constViewPager=Platform.OS==='ios' ? ScrollView : VerticalViewPager;return(<ViewPagershowsVerticalScrollIndicator={false}pagingEnabled><Viewstyle={[styles.page_container,{backgroundColor: 'pink'}]}><Text>Page1: Open up App.js to start working on your app!</Text></View><Viewstyle={[styles.page_container,{backgroundColor: 'olive'}]}><Text>Page2: Changes you make will automatically reload.</Text></View><Viewstyle={[styles.page_container,{backgroundColor: 'lightblue'}]}><Text>Page3: Shake your phone to open the developer menu.</Text></View></ViewPager>);}}conststyles=StyleSheet.create({page_container: {flex: 1,justifyContent: 'center',alignItems: 'center',
width,
height
}});
I have a issues with only ios devices: When i scroll down to last view and continue scroll, it will show white screen like this video
https://drive.google.com/file/d/1oeezoBpSy_EgLwYLK2FxQXeGZT87kdge/view
Do you have any solution to fix this problem.
Something like: Show alert ( Cannot load more ... )
The text was updated successfully, but these errors were encountered: