Swipeable: renderLeftActions "The data couldn't be read because it isn't in the correct format"
See original GitHub issueHey,
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:
- Created 6 years ago
- Reactions:1
- Comments:8 (2 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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
Would you think I’m crazy if I told you this only seems to be happening when Chrome debugger is activated?