Skip to content
This repository was archived by the owner on Jan 29, 2022. It is now read-only.
This repository was archived by the owner on Jan 29, 2022. It is now read-only.

[bug]: The first instance of a image doesn't zoom, but after close it, all works ok. #42

@Jhonnymv

Description

@Jhonnymv

Hi! I hope you're having a good day.

I have a problem with the first time open a image. I can't zoom it and if i drag it, it drags to right or left. But when i close that first image and open it again, all works ok, the image can zoom and already it doesn't let me drag and stay it in the middle as it should be.

This is my code

<ion-slides scrollbar="true">
                <ion-slide>
                    <ion-img ionImgViewer class="image" src="{{'https://umbrella.com/apiExample'+img1.substring(1)}}" scheme="dark"></ion-img>
                </ion-slide>
            
                <ion-slide>
                    <ion-img ionImgViewer class="image" src="{{'https://umbrella.com/apiExample'+img2.substring(1)}}" scheme="dark"></ion-img>
                </ion-slide>
          </ion-slides>

And this is what's happening:

Screenshot_1
Screenshot_2

If I leave the cursor pressed, the image stays where I dragged it. But as i said, when close the image, and open it again, all works good.

I don't know, maybe it just happens to me.

Thanks!!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions