Skip to content
This repository has been archived by the owner on Sep 16, 2020. It is now read-only.

Gesture not working well when setting a new dataSource onOpen #40

Open
gpbl opened this issue Oct 10, 2015 · 1 comment
Open

Gesture not working well when setting a new dataSource onOpen #40

gpbl opened this issue Oct 10, 2015 · 1 comment

Comments

@gpbl
Copy link

gpbl commented Oct 10, 2015

Hi, I'm using react-native-swipeout in a ListView, with the onOpen prop to show the Swipeout buttons only once, as in the wiki.

However, when the dataSource is updated, the component is rendered again and the swipe gesture is not as fluid as without this trick. Sometimes, it doesn't even open the buttons, making the component unusable.

Do you have also this issue? It cannot be seen on the simulator, just on a real device.

@dancormier
Copy link
Owner

I have not tested this, but I am building a new version using the Animated library which I hope will resolve many performance issues.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants