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.

Change the close animation of the <Swipeable />

See original GitHub issue

Hello everyone, I’m trying an animation, but no success so far:

I need to do the animation below when deleting a record: https://youtu.be/u6LfNXzJ7xk

What I have: https://youtu.be/z-mMVXxwOPI

My code: https://snack.expo.io/@diegorodriguesvieira/dcf0b0

I thought of using this.close() from <Swipeable />, but the animation is different. Is there any way to change this animation?

Issue Analytics

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

github_iconTop GitHub Comments

0reactions
shhhiiiiicommented, Nov 25, 2019

Hi, can someone help me. i tried the example project but when i tried to close the swipeable view but its not working. Am I missing or doing something… Any help is really appreciated. Thank you so much. i called this onPress : updateRef = ref => { this._swipeableRow = ref; };

close = () => {
    this._swipeableRow.close();
};

this is the sample project link : https://github.com/kmagiera/react-native-gesture-handler/blob/master/Example/swipeable/AppleStyleSwipeableRow.js

Read more comments on GitHub >

github_iconTop Results From Across the Web

Change the close animation of the <Swipeable /> #610 - GitHub
I thought of using this.close() from <Swipeable /> , but the animation is different. Is there any way to change this animation?
Read more >
How to Change Home Screen (Swipe Animation) in Xiaomi ...
In this video we will show you how to Change Home Screen ( Swipe Animation ) in Xiaomi Pocophone F1, a screen transition...
Read more >
Disable animation for "Swipe between full-screen apps"?
➥ Any way to disable or alter this left/right sliding animation? ➥ Is there some other way to switch between full-screen apps? Between,...
Read more >
Stop animation when closing apps - Apple Support Communities
How do I turn off or change the animation when closing apps? ... left to right to scroll through the apps, or swipe...
Read more >
Swipeable | React Native Gesture Handler - Software Mansion
distance from the left edge at which released panel will animate to the open state (or the open panel will animate into the...
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