Ionic and Slick.js (Err with modal)

Hello, I’m using slick carousel in my Ionic project but I have a problem: when run the app, the carousel works very well but I noticed that when open a Modal ($ionicModal) and return in the view where live my carousel I obtain a bad effect. The Carousel is break: I haven’t the vertical list and not an horizontal list.

Slick create an element “slick-track” and put on it:

  • style=“opacity: 1; width: 2160px; transform: translate3d(0px, 0px, 0px);”

when I change view, open an modal, ionic modify the style on “slick-track”.

  • style=“opacity: 1; width: 0px; transform: translate3d(0px, 0px, 0px);”

Why does Ionic change the style on the element “slick-track”? How does it work modal Ionic?