deanmcpherson/react-native-sortable-listview

Android fling gesture breaks UI with setLayoutAnimationEnabledExperimental enabled

kevinejohn opened this issue ยท 6 comments

If you enabled animations on Android in the example.js (https://github.com/deanmcpherson/react-native-sortable-listview/blob/master/Sortable/example.js#L10)

By adding:

UIManager.setLayoutAnimationEnabledExperimental &&
      UIManager.setLayoutAnimationEnabledExperimental(true);

And then when you activate a row and do the fling gesture it causes UI issues as seen in this screenshot:
screenshot_20171004-174747

I have same issue.

I have same issue.

I have same issue.

I have same issue.

I have same issue.
Does it work without animation?

Please someone may have a look?
Thanks.

It appears to be an issue with the underlying React-Native source that hasn't been fixed on Android: facebook/react-native#13207

You could modify this library to remove the LayoutAnimation methods