react-native-swipeable icon indicating copy to clipboard operation
react-native-swipeable copied to clipboard

Support for bouncing a row on mount

Open gwmccull opened this issue 7 years ago • 1 comments

Hi, thanks for the great component.

We're using react-native-swipeable for items in a FlatList/SectionList.

The old, experimental SwipeableListView had a prop called bounceFirstRowOnMount that did exactly what it sounds like, it slid the first row to the left & then back to show the user that the row was swipeable.

Is there interest in a feature like that for react-native-swipeable? I (or my teammate) would be interested in helping with it

Obviously, the prop name would have to change. I would propose something like bounceOnMount and then developers could just use the index to bounce the first row.

gwmccull avatar Aug 07 '17 23:08 gwmccull

It would probably also make sense to implement a bounce instance method if this proposal is accepted.

gwmccull avatar Aug 07 '17 23:08 gwmccull