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

SwipeListView does not scroll untill end while using it inside scrollview with other content in ios.Last some item is hidden.

Open krupalikevadiya opened this issue 3 years ago • 5 comments

krupalikevadiya avatar Dec 24 '20 12:12 krupalikevadiya

Hey @krupalikevadiya do you have some example code you could share? I'm not exactly sure how to go about looking at this problem

jemise111 avatar Jan 24 '21 14:01 jemise111

<…..Some other view….>

<SwipeListView></SwipeListView>

hey @jemise111 code is something like these and it is worked fine in android but not in ios.Last 3-4 item of list is always hide.

krupalikevadiya avatar Feb 12 '21 06:02 krupalikevadiya

same happens to me, the list bounce back when it reach the end. (only IOS)

it looks like: e05c9cd7-048a-4f78-b63f-e4546ab4975f

the code:

SwipeListView
        style={{ borderColor: 'red', borderWidth: 1 }}
        contentContainerStyle={{ paddingBottom: 100 }}
        data={tickers}
        keyExtractor={keyExtractor}
        renderHiddenItem={renderHiddenItem}
        leftOpenValue={swipeWidth}
        rightOpenValue={-1 * swipeWidth}
        stopLeftSwipe={swipeWidth}
        stopRightSwipe={-1 * swipeWidth}
        closeOnRowOpen
        renderItem={renderItem}
        ItemSeparatorComponent={ItemSeparatorComponent}
        windowSize={6}
        scrollEnabled={scrollEnabled}
        showsVerticalScrollIndicator={false}
        getItemLayout={getItemLayout}
      />

@jemise111 no idea if I'm doing something wrong. I tried using a native <FlatList> removing the RNSLV parameters and it works fine.

jhta avatar Jun 18 '21 14:06 jhta

Same issue for me

satyabrata-dash5 avatar Jan 30 '23 13:01 satyabrata-dash5

did anyone find a solution for this?

Pau1fitz avatar Jun 29 '23 00:06 Pau1fitz