react-native-sortable-listview
react-native-sortable-listview copied to clipboard
Bug sorting
When I used react-navigate TabBar Component with react-native-sortable-listview that list freezes when I bring the active element to the edge of the screen.
To solve the problem I use disableAnimatedScrolling = {true}
for react-native-sortable-listview and animationEnabled: false,
for react-navigate but but for me animation is important.
the bug is present on ios and on Android works well.
code bug example: where 'App' = example for this library
const Tab = TabNavigator(
{
App: { screen: App,
navigationOptions: {
title: 'Home',
tabBarLabel: 'Home',
tabBarVisible: true,
}},
},
{
tabBarPosition: 'top',
tabBarComponent: TabBarTop,
animationEnabled: true,
swipeEnabled: false,
});
AppRegistry.registerComponent('sort', () => Tab);
checked on the following configurations:
"react": "16.0.0-alpha.12",
"react-native": "^0.48.4",
"react-navigation": "1.0.0-beta.11",
"react-native-sortable-listview": "^0.2.8",
and
"react": "16.2.0",
"react-native": "0.53.0",
"react-native-sortable-listview": "^0.2.8",
"react-navigation": "^1.0.3"