-
Notifications
You must be signed in to change notification settings - Fork 214
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
TypeError: undefined is not an object (evaluating '_reactNative.Image.resizeMode.contain') #132
Comments
That's because since 0.56 Image.resizeMode is not exposed anymore. You just need to use the string value instead. ex: resizeMode="contain" |
Hello thnx |
I am also getting this error message when using following code snippet. Need help ASAP. <GiftedForm.ModalWidget
title='Title'
displayValue='title'
>
<GiftedForm.SeparatorWidget />
<GiftedForm.SelectWidget name='title' title='Title' multiple={false}>
<GiftedForm.OptionWidget title='Male' value='M'/>
<GiftedForm.OptionWidget title='Female' value='F'/>
</GiftedForm.SelectWidget>
</GiftedForm.ModalWidget> |
find the WidgetMixin.js and ModalWidget.js in source code and press ctrl + F to replace Image.resizeMode.contain to 'contain' |
Thank you! I solved this problem by your help!!! |
I think the authorities should fix this(WidgetMixin.js ->Image.resizeMode.contain to 'contain') |
Hello there!, first, thank you for this great library.
Now Im trying to follow you example code, and I don't know if I'm missing something here, but I'm facing this issue:
Any idea (I'm new with RN)
Thanks!
The text was updated successfully, but these errors were encountered: