You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately we still have customers that use IE 11 and the latest version is not working. The live demo page is also not working in IE11.
It seems like there might be two issues, one is the usage of 'closest' method that is unsupported. And an error in utils.js that only says 'Const must be initialized (6,541)' but we were unable to figure out what is wrong there, "isValidNumber" method always returns false.
Usage of 'closest' was added in #1430. A workaround is to use a Polyfill as per stackoverflow (https://stackoverflow.com/a/61958369). But still not working properly due to our usage of utils.
Steps to reproduce
Create site with intl-tel-input, everything default. (or use included html example below)
Start IE11, go to page.
Look at errors in console, input field is just an empty input field and no flags etc.
Expected behaviour
IE 11 is listed as supported so it should work.
Actual behaviour
Two errors in console. One is that closest is unknown (flags will not be shown) and the other is that utils.js has syntax errors and will not work.
Initialisation options
See getting-started-using-a-cdn on Readme. Including a tiny repro page below.
Ps. If using Win 11. The easiest way to still open IE is to put the following in a .vbs file. CreateObject("InternetExplorer.Application").Visible=true
The text was updated successfully, but these errors were encountered:
Unfortunately we still have customers that use IE 11 and the latest version is not working. The live demo page is also not working in IE11.
It seems like there might be two issues, one is the usage of 'closest' method that is unsupported. And an error in utils.js that only says 'Const must be initialized (6,541)' but we were unable to figure out what is wrong there, "isValidNumber" method always returns false.
Usage of 'closest' was added in #1430. A workaround is to use a Polyfill as per stackoverflow (https://stackoverflow.com/a/61958369). But still not working properly due to our usage of utils.
Steps to reproduce
Expected behaviour
IE 11 is listed as supported so it should work.
Actual behaviour
Two errors in console. One is that closest is unknown (flags will not be shown) and the other is that utils.js has syntax errors and will not work.
Initialisation options
See getting-started-using-a-cdn on Readme. Including a tiny repro page below.
Repro page
Ps. If using Win 11. The easiest way to still open IE is to put the following in a .vbs file.
CreateObject("InternetExplorer.Application").Visible=true
The text was updated successfully, but these errors were encountered: