uNmAnNeR / imaskjs

vanilla javascript input mask
https://imask.js.org
MIT License
4.91k stars 256 forks source link

[react-native] TypeError: IMaskMixin__default['default'] is not a function #462

Closed maximzhemerenko closed 3 years ago

maximzhemerenko commented 3 years ago

Got this error after upgrade from 'react-native-imask' 6.0.5 to 6.0.6: TypeError: IMaskMixin__default['default'] is not a function. (In 'IMaskMixin__default['default'](MaskedComponent)', 'IMaskMixin__default['default']' is an instance of Object).

This issue also exists in version 6.0.7. Tested on fresh installation of react-native 0.63.4

image image image
aplinxy9plin commented 3 years ago

+1

sebak94 commented 3 years ago

Same

maximzhemerenko commented 3 years ago

@uNmAnNeR thank you!

diejsel commented 3 years ago

image image

Similar bug in version 6.1.0 in android emulator. Works well on the web. In 6.0.5 it works fine.

diejsel commented 3 years ago

image image

@uNmAnNeR Everything works as it should, only an error occurs: native-mask-element-c27b64cf.js:139 Uncaught TypeError: this.input.setNativeProps is not a function

uNmAnNeR commented 3 years ago

@diejsel hey! if you have time please check if issues from that comment was solved or not https://github.com/uNmAnNeR/imaskjs/issues/12#issuecomment-393791838 if they are solved then i will try to get it working again. There should be a lot of updates in react native since i have not been checking it for the last 2 years.

diejsel commented 2 years ago

all issues as resolved