ngx-slick icon indicating copy to clipboard operation
ngx-slick copied to clipboard

IE11 compatibility

Open Groverize opened this issue 6 years ago • 3 comments

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.

Groverize avatar Aug 08 '18 14:08 Groverize

What file and line number is that on?

itanex avatar Sep 12 '18 22:09 itanex

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. 1

In second image I have clicked next button several times 2

muslim-niche avatar Sep 13 '18 06:09 muslim-niche

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'.

bncunha avatar May 29 '19 23:05 bncunha