React-native-swipe-list-view: Disable row entry animation?

Created on 19 Feb 2019  路  3Comments  路  Source: jemise111/react-native-swipe-list-view

When a row first appears it bounces left and then returns to its start position. I can't find any option to disable this though? Am I overlooking something obvious?

Thanks for this great project!

Most helpful comment

@Slapbox Excellent, I wouldn't worry about the readme - I'll release a fix for those who don't pass a key. Going to close this, thanks!

All 3 comments

Hey @Slapbox, I think I found the issue here. By default it should not do a preview animation but I think there's a bug if you do not provide a key for each object in your data array or a keyExtractor. Could you confirm that adding one of those fixes the issue? And I'll release a fix shortly after that

Thanks!

@jemise111 Brilliant! Thanks so much! Adding a keyExtractor definitely fixes the issue.

Do you need to add a code fix somewhere or is it at simple as updating the ReadMe? My items did not have a key property, but rather a uuid property.

@Slapbox Excellent, I wouldn't worry about the readme - I'll release a fix for those who don't pass a key. Going to close this, thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lsbiosite picture lsbiosite  路  6Comments

m-ruhl picture m-ruhl  路  6Comments

ramisalem picture ramisalem  路  5Comments

imsam67 picture imsam67  路  5Comments

baicuhaha picture baicuhaha  路  6Comments