betsol / ng-intl-tel-input

intl-tel-input integration for Angular.js
21 stars 24 forks source link

Library not compatible with jQuery v3 ^ #24

Open alexandria-p opened 6 years ago

alexandria-p commented 6 years ago

betsol/ng-intl-tel-input cannot be used with jQuery v3 and later.

Some functions in dependency intl-tel-input v7.1.1 - 8 are not compatible with jQuery version 3 and above. This is because the original intl-tel-input library uses deprecated function $(window).load(function() { ... }); in versions v7.1.1 - 8 instead of its newer counterpart, $(window).on('load', function() { ... });

This has been fixed in v9 ^ of intl-tel-input.

If permitting, updating the bower.json file for betsol/ng-intl-tel-input to specify v9 intl-tel-input would solve this problem.

alexandria-p commented 5 years ago

Please note my open pull request