deanmcpherson / react-native-sortable-listview

Drag drop capable wrapper of ListView for React Native
MIT License
917 stars 235 forks source link

Android fling gesture breaks UI with setLayoutAnimationEnabledExperimental enabled #112

Open kevinejohn opened 6 years ago

kevinejohn commented 6 years ago

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

rskull commented 6 years ago

I have same issue.

youpen commented 6 years ago

I have same issue.

TonySheva commented 6 years ago

I have same issue.

Avery246813579 commented 6 years ago

I have same issue.

iCodePup commented 6 years ago

I have same issue. Does it work without animation?

Please someone may have a look? Thanks.

jpshelley commented 6 years ago

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

You could modify this library to remove the LayoutAnimation methods