ngx-slick
ngx-slick copied to clipboard
IE11 compatibility
Hi all, I recently ran into an issue with IE11 compatibility. The issue was with this line: jQuery(this.el.nativeElement)[0].innerHTML= '';
Updating this to this: jQuery(this.el.nativeElement)[0].textContent = ''; Fixed the issue for me.
Just an FYI for anyone else having this issue (if anyone still has to support IE11 like me)
Feel free to tell me any reason this might be wrong also.
What file and line number is that on?
In IE 11 slick slider is not working fine. In my case I am inserting more slides on afterChange event so when I click next button several times after that the slides start appearing.
In second image I have clicked next button several times
Hi all, I recently ran into an issue with IE11 compatibility. The issue was with this line: jQuery(this.el.nativeElement)[0].innerHTML= '';
Updating this to this: jQuery(this.el.nativeElement)[0].textContent = ''; Fixed the issue for me.
Just an FYI for anyone else having this issue (if anyone still has to support IE11 like me)
Feel free to tell me any reason this might be wrong also.
This works for me too. Thank you very much! This code is in file 'index.js' and 'ngx-slick.umd.js'.