eduardoborges / use-mask-input

✏️ A react Hook for build elegant input masks. Compatible with React Hook Form
https://npmjs.com/package/use-mask-input
308 stars 16 forks source link

Component unmount #7

Closed z1m1n closed 1 year ago

z1m1n commented 1 year ago

Hi!

I'm using withHookFormMask function and got some problem with component unmount. Is there any way to destroy inputmask on component unmount? I tried to call input.inputmask.remove() manually, but it is not solve the issue.

image

eduardoborges commented 1 year ago

Hi!

I'm using withHookFormMask function and got some problem with component unmount. Is there any way to destroy inputmask on component unmount? I tried to call input.inputmask.remove() manually, but it is not solve the issue.

image

Hey, i will investigate this problem tomorrow. Thanks 😊

eduardoborges commented 1 year ago

:tada: This issue has been resolved in version 3.0.3 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: