catamphetamine / libphonenumber-js

A simpler (and smaller) rewrite of Google Android's libphonenumber library in javascript
https://catamphetamine.gitlab.io/libphonenumber-js/
MIT License
2.79k stars 216 forks source link

Issue in IE11 when used along with Google reCaptcha #256

Closed ahmed-hyd closed 6 years ago

ahmed-hyd commented 6 years ago

Hi,

While using libphonenumber-js along with Google reCaptcha, we are getting the error "Exception thrown and not caught" on the following lines:

const asYouTypes = new asYouType(this.state.country); const text = asYouTypes.input(value);

This issue is happening only on newer versions of IE11 on Windows OS.

I have uploaded a POC here.

IE version used: 11.0.9600.18130

Please suggest how we can mitigate this.

Thanks, Ahmed M

catamphetamine commented 6 years ago

Can be whatever. Not related to this library.