Riron / ionic-img-viewer

Ionic 2+ component providing a Twitter inspired experience to visualize pictures.
MIT License
283 stars 118 forks source link

Enabled swiping inside image viewer using "https://github.com/jianminLee/ionic-img-viewer/" ion-slide set initialSlide not work immediately #123

Open Shals08 opened 6 years ago

Shals08 commented 6 years ago

Please provide you version information :

Dependency Version
ionic2 ionic3
angular
ionic-img-viewer 2.7.0

Have you checked...

ion-slide set initialSlide not work immediately.

I have a few slides within a modal. When activating the modal a param is passed which is the number slide the slider should initially start on. Using <ion-slides initialSlide = "3" sees the first slide displayed and then changes to the initial slide index (3) after a delay of about 1 sec.

abdelp commented 6 years ago

how you install from the jianminLee repo?

Shals08 commented 5 years ago

I downloaded the src files from the "https://github.com/jianminLee/ionic-img-viewer/" and created the dist files. And installed this package by giving the local path.