-
Notifications
You must be signed in to change notification settings - Fork 24.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draggable AnimatedViews crash simulator #24925
Comments
having exactly the same issue, sadly only downgrading to 0.57.x solved me issue |
As a temporary workaround, when setting the modal position using an AnimatedValue with setValue, you must supply an By using this
This fixes the issue on simulator. As a side note, the offending underlying API piece is essentially being passed |
I am having the same issue after upgrading to 0.60.4. Also, this might be related: #23835. Seems to me like all AnimatedValues are not passed correctly. Is downgrading the only option? |
Getting the same issue on 0.59.10
|
@steventilator Correct, if you follow down to the Animated API level, you'll see that |
I found it in debug mode. everything is all right in release mode |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information. |
When running on iOS simulator, draggable AnimatedViews throw an unhandled error. I've already tested this in release on testflight, and the draggable modal behaves as expected with no error.
React Native version:
Steps To Reproduce
The View should drag according to the PanResponder, but instead errors out with the following error:
Invariant Violation: [2165,\"RCTView\",{\"top\":0,\"left\":\"<<NaN>>\",\"transform\":[{\"translateY\":40}]}] is not usable as a native method argument\n at invariant
You can reproduce it with the following, however, on snack, this does not crash I assume because Expo is a on their own fork?
As I said, this is not occurring in our release builds, but obviously makes debugging a pain .
The text was updated successfully, but these errors were encountered: