nikini / ionic-gallery-modal

Ionic Gallery Modal (to show all your photos)
166 stars 80 forks source link

scroll on zoom? #10

Closed phortonssf closed 7 years ago

phortonssf commented 7 years ago

I installed the demo, how can I enable scroll on zoom? thank you

phortonssf commented 7 years ago

Actually zoom and scroll works wonderfully on ios but not on andriod. Any fixes for the scroll while zoomed on android? thank you. Looks great btw.

MazinAffan-Kinesso commented 7 years ago

@phortonssf this worked for me

zoomable-image {

    ion-scroll {
        .image {
            touch-action: manipulation !important;
        }
    }
}
phortonssf commented 7 years ago

I put it in my app.scss and the page.scss. It sorta of works. When i try to move while zoomed the image is basically cropped to that zoomed content. Any ideas?

On Sun, Mar 5, 2017 at 6:49 PM, mazinaffan notifications@github.com wrote:

@phortonssf https://github.com/phortonssf this worked for me

zoomable-image {

ion-scroll {
    .image {
        touch-action: manipulation !important;
    }
}

}

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nikini/ionic-gallery-modal/issues/10#issuecomment-284290251, or mute the thread https://github.com/notifications/unsubscribe-auth/AV-RHR-_2EPxbFyWwUqHj__KYYoIdTwIks5ri3RSgaJpZM4L8o-g .

MazinAffan-Kinesso commented 7 years ago

not sure that I follow...after zooming I am able to move the image and view any part of it, the image isn't cropped

phortonssf commented 7 years ago

What file is your CSS in

On Mar 6, 2017 6:00 PM, "mazinaffan" notifications@github.com wrote:

not sure that I follow...after zooming I am able to move the image and view any part of it, the image isn't cropped

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nikini/ionic-gallery-modal/issues/10#issuecomment-284597360, or mute the thread https://github.com/notifications/unsubscribe-auth/AV-RHfX-3q5yjhyJKGD09iMwq38C2XC1ks5rjLpGgaJpZM4L8o-g .

MazinAffan-Kinesso commented 7 years ago

mine is only in app.scss

phortonssf commented 7 years ago

I'll try it again when I get home. But yeah when zoomed then tried to move around the zoomed screen. It was treating the zoomed size as the max size of the image. So no touch and scroll. Thanks .

On Mar 6, 2017 6:55 PM, "mazinaffan" notifications@github.com wrote:

mine is only in app.scss

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nikini/ionic-gallery-modal/issues/10#issuecomment-284606404, or mute the thread https://github.com/notifications/unsubscribe-auth/AV-RHZv0RJouobHKoPGEYTtaMtVJclCuks5rjMcsgaJpZM4L8o-g .

nikini commented 7 years ago

Does it work now? can you try version 0.1.0?

nikini commented 7 years ago

Should be fixed in the new version, but I'm awaiting a response @phortonssf