question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[question] removing Swipable component from list

See original GitHub issue

hi thanks for the awesome library 🙇

I have one question, I was looking at the document of Swipable, and looks like there are no APIs for removing the component itself from the list 🤔

Are there any ways to do it? 👀

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
kopaxcommented, Feb 24, 2020

I finally succeed not to rerender my list. The trick was to just hide to height 0 the line and keep the array as it was at the beggining.

This prevent the list size from changing and rerendering.

0reactions
takecommented, Feb 24, 2020

@Naturalclar

thx i’ll try it out 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

React Native Swipeable (Swipe to delete) not closing
When we have our list keyed on index , and we remove one item (eg index=3), the next item (previously index=4) now adopts...
Read more >
React Native Gesture Handler - Swipe To Delete - YouTube
reactnative #dopeprogrammingIn this tutorial you'll learn how you can implement swipe to delete or swipe to do any other task in react ...
Read more >
React Native Swipeable List - Kurzor
The swipeable list will have 2 main components: a container and list items. Let's call the container List. List class is responsible for...
Read more >
How to add custom swipe action buttons to a List row
By default, the first of your swipe actions will be automatically triggered if the user swipes far enough. If you want to disable...
Read more >
React native course,problem with ListItem and library
i already tried to delete node_modules and pacakage lock and with npm ... In your List Item Component, I think there are a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found