React-native-swipe-list-view: Section list item swipe not following touch

Created on 26 Aug 2019  路  2Comments  路  Source: jemise111/react-native-swipe-list-view

I am having a strange issue with Section Lists on Android (tested on emulator Android 7.0, and device on Android 9.0)

It happens on the sample app as well and you just have to swipe right and keep doing it several time on the open item. You will see that the item is moving further and further away from the touch position to the point which you just have to click to see it disappear.

It does not happen with flat lists.

untitled

Most helpful comment

@benjamarle @proof666 yes this is caused by using the native driver. For now you can fix it with @proof666 suggestion. I'll be merging in a PR soon and releasing a new release that fixes this for good. Just need to do a bit of testing on my end, thanks!

All 2 comments

I have the same issue in FlatList. Also it can be reproduced by swipe element => close => swipe same element. In version 1.5.3 works well.

Update: it works as expected with useNativeDriver={false}

@benjamarle @proof666 yes this is caused by using the native driver. For now you can fix it with @proof666 suggestion. I'll be merging in a PR soon and releasing a new release that fixes this for good. Just need to do a bit of testing on my end, thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

VitaliiK91 picture VitaliiK91  路  3Comments

mohitmishra22 picture mohitmishra22  路  6Comments

Slapbox picture Slapbox  路  6Comments

kyangy picture kyangy  路  3Comments

2JJ1 picture 2JJ1  路  5Comments