software-mansion / react-freeze

Prevent React component subtrees from rendering.
MIT License
1.54k stars 33 forks source link

Invariant Violation: [4413,"RCTView",{"transform":[{"scaleX":0},{"translateX":"<<NaN>>"}]}] is not usable as a native method argument #20

Open jslok opened 2 years ago

jslok commented 2 years ago

When enabling freeze, I get this error occasionally (maybe 1/10 navigations) when navigating screens in development mode on an android real device and simulator. Haven't tested on ios. Seems to not happen in production so far.

"react-native-screens": "3.9.0"
"@react-navigation/bottom-tabs": "^6.2.0"
"@react-navigation/native": "^6.0.8"
"@react-navigation/native-stack": "^6.5.0"
"react-native": "0.65.1"

Invariant Violation: [4413,"RCTView",{"transform":[{"scaleX":0},{"translateX":"<<NaN>>"}]}] is not usable as a native method argument

Ankushsrj2 commented 2 years ago

You found any fix for this ?