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.

Action is being triggered more than once

See original GitHub issue
                leftContent={leftContent}
                rightContent={rightContent}
                onRightActionComplete={() => {
                    console.log("Right Action Complete");
                }}
                onLeftActionComplete={() => {
                    console.log("Left Action Complete");
                }}

When playing swiping and swiping back while holding the swipeable action open, the action triggers countless times.

When swiping quickly, action triggers twice.

Also, this warning sometimes appear:

Possible Unhandled Promise Rejection (id: 13):

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
sungsong88commented, Mar 26, 2019

I hate to say this, but I had to switch over to https://github.com/jemise111/react-native-swipe-list-view because of this issue. When I swipe diagonally, the actions were still triggered(and bad user experience…) I stopped trying to figure out the work around. Too much of headache…

0reactions
kopaxcommented, Feb 8, 2020

This is not fixed, I have tried with :

<ScrollView scrollEnabled={!this.state.isSwiping}>
  <Swipeable
    onSwipeStart={() => this.setState({isSwiping: true})}
    onSwipeRelease={() => this.setState({isSwiping: false})}
  </Swipeable>
</ScrollView>

after that, I am not able to scroll down on any of my devices.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Business Rule Action is getting triggered more than once.
Basically the business rule whish gets triggered after the Case Clossure , executes a Call UD32 command which is for invoking a global...
Read more >
Actions triggered multiple times - SAP Community
Hi,. I have created activity and assigned action profile with 3 actions triggering based on different statuses of activity.
Read more >
Auth0 Action triggering more than once?
I have an action in the Login Flow that sends a New User message every time someone signs up. My code filters out...
Read more >
Why is the onClick event triggered twice? - Stack Overflow
It is calling twice because button is inside a span and span has onclick="alert('Boem')" , hence when you trigger click on button then...
Read more >
What Does It Mean to Be 'Triggered' - Verywell Mind
Being triggered means re-experiencing symptoms of trauma when exposed to reminders of the trauma. Learn more about triggers and how to cope ...
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