Skip to content
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

Error: Exception in HostFunction: Malformed calls from JS: field sizes are different #58

Open
NehaSalve1393 opened this issue Mar 17, 2021 · 1 comment

Comments

@NehaSalve1393
Copy link

[[4,4,4,4,4,4,4,4,4],[2,2,2,2,2,2,2,2,2],[[9,"RCTView",171,{"top":31,"left":31,"width":39,"backgroundColor":-15427936,"borderRadius":100,"height":39,"position":"absolute"}],[15,"RCTView",171,{"top":-10,"left":10,"width":20,"backgroundColor":-15427936,"height":20,"borderRadius":0}],[17,"RCTView",171,{"top":31,"width":39,"backgroundColor":-15427936,"right":31,"borderRadius":100,"height":39,"position":"absolute"}],[23,"RCTView",171,{"top":10,"left":-10,"width":20,"backgroundColor":-15427936,"height":20,"borderRadius":0}],[25,"RCTView",171,{"bottom":31,"left":31,"width":39,"backgroundColor":-15427936,"borderRadius":100,"height":39,"position":"absolute"}],[29,"RCTView",171,{"top":31,"left":31,"width":20,"backgroundColor":-15427936,"height":20,"borderRadius":0}]],602]

This error is located at:
in RCTView (at View.js:34)
in View (at react-native-perspective-image-cropper/index.js:262)
in RCTView (at View.js:34)
in View (at createAnimatedComponent.js:165)
in AnimatedComponent (at createAnimatedComponent.js:215)
in ForwardRef(AnimatedComponentWrapper) (at react-native-perspective-image-cropper/index.js:255)
in RCTView (at View.js:34)
in View (at react-native-perspective-image-cropper/index.js:167)
in RCTView (at View.js:34)
in View (at react-native-perspective-image-cropper/index.js:160)
in CustomCrop (at TestCropImage.js:55)
in RCTView (at View.js:34)
in View (at TestCropImage.js:54)
in TestCropImage (at App.js:45)
in App (at renderApplication.js:45)
in RCTView (at View.js:34)
in View (at AppContainer.js:106)
in RCTView (at View.js:34)
in View (at react-native-root-siblings/index.js:32)
in RootSiblingsWrapper (at AppContainer.js:121)
in RCTView (at View.js:34)
in View (at AppContainer.js:132)
in AppContainer (at renderApplication.js:39)

Please help...

@devinjameson
Copy link

What height and width are you providing to the cropper component? I had this issue when supplying 0 to both.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants