react-native-swipe-list-view icon indicating copy to clipboard operation
react-native-swipe-list-view copied to clipboard

Hidden row prevent re-render

Open manosKas opened this issue 3 years ago • 0 comments

Describe the bug Avoid re-rendering of hidden item (row) when hook state is changing

To Reproduce SwipeListView with renderItem and renderHiddenItem as simple as it can be, but there is a useState hook to controll multiple select mode which renderItem toggles it onLongPress.

example expo link: https://snack.expo.dev/@manolee22/flatlist-simple

Environment (please complete the following information):

  • OS: iOS and Android
  • RNSLV Version: 3.2.9
  • RN Version: 68.2

manosKas avatar Sep 07 '22 08:09 manosKas