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.

Swipeable: renderLeftActions "The data couldn't be read because it isn't in the correct format"

See original GitHub issue

Hey,

Awesome module! I’m here to ask about the Swipeable component. When adding renderLeftActions or renderRightActions I get a red box:

The data couldn't be read because it isn't in the correct format

I’ve narrowed it down to the { translateX: this._leftActionTranslate } located here: https://github.com/kmagiera/react-native-gesture-handler/blob/master/Swipeable.js#L226

If I set translateX to this._transX, it works correctly (it doesn’t bounce back all the way but hopefully I’ll figure it out soon)

I’m going to keep hunting down the problem and will try to put together a PR. Any hints would be appreciated.

Thanks again for the library!!!

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
keeleycarrigancommented, Apr 5, 2018

I know this issue is closed but I am experiencing this issue as well using the example Swipeable row. It doesn’t error out if I turn off the debugger OR if I build the project through XCode 9.2. So maybe this is some kind of RN build system thing? Also I’m on RN 0.53.0

1reaction
peterpmecommented, Oct 24, 2017

Would you think I’m crazy if I told you this only seems to be happening when Chrome debugger is activated?

Read more comments on GitHub >

github_iconTop Results From Across the Web

The data couldn't be read because … | Apple Developer Forums
The data couldn't be read because it isn't in the correct format. You're now watching this thread ... I am facing this error...
Read more >
The data couldn't be read because it isn't in the correct format ...
First, error.localizedDescription is meant to display an information for the user. It's not useful for debugging. If you replace it with ...
Read more >
Swipeable | React Native Gesture Handler - Software Mansion
This component allows for implementing swipeable rows or similar interaction. ... swipes left or right (containers can be rendered by renderLeftActions or ...
Read more >
React Native Gesture Handler Swipeable: Data Couldn't Be ...
I know react-native-gesture-handler is under the Dang… ... Handler Swipeable: Data Couldn't Be Read Because It Isn't In The Correct Format.
Read more >
Anyone have an error message that reads “The data couldn't ...
Deleted the app and re-downloaded it… ... an error message that reads “The data couldn't be read because it isn't in the correct...
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