How can I automatically bring the Swipeable List back to its original position after clicking on the left or right buttons? #3782
              
                Unanswered
              
          
                  
                    
                      JackTorresR
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 1 comment
-
| Hii, you can do leftContent={(reset) => (
    <Button
      title="Info"
      onPress={() => reset()}
      icon={{ name: 'info', color: 'white' }}
      buttonStyle={{ minHeight: '100%' }}
    />
  )}Refer swipeable docs | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to implement a Swipeable List component in my React app, but I'm having trouble figuring out how to automatically reset its position to the center after the user clicks on the buttons that appear on the left or right side of each item. I've searched for solutions online, but so far nothing seems to work. Any help would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions