zoom in ion-scroll not working in beta 2.0
Short description of the problem:
zoom option in <ion-scroll> is not working in beta 2.0m also the scrollY is poorly working on iOS.
What behavior are you expecting?
I'm expecting the zoom to work when I add zoom="true" and maxZoom="2" to <ion-scroll>
Steps to reproduce:
- use the code provided below (modification of demo)
- pinch the screen
this the code from the demo modified
<ion-content>
<ion-scroll maxZoom="2" zoom="true" scrollX="true" scrollY="true" style="width: 100%; height: 100%">
<div class="map-div"></div>
</ion-scroll>
</ion-content>
<style>
.map-div {
width: 2600px;
height: 1400px;
background: url('./map.jpeg') no-repeat;
}
</style>
Ionic Version: 2.0
Browser & Operating System: iOS / Chrome
Run ionic info from terminal/cmd prompt:
Cordova CLI: 6.0.0
Ionic Version: 2.0.0-beta.1
Ionic CLI Version: 2.0.0-beta.17
Ionic App Lib Version: 2.0.0-beta.8
ios-deploy version: 1.8.5
ios-sim version: 5.0.1
OS: Mac OS X El Capitan
Node Version: v4.3.1
Xcode version: Xcode 7.2.1 Build version 7C1002
As @adamduren said, I decided to implement a custom component and after that I open sourced the code, you guys can use and submit your issues and PR's at https://github.com/leonardosalles/ionic2-zoom-area
thanks.
Still, the issue is not resolved..
Any news on this?
Ionic team are working in Ionic 4 release, think this issue will be not solved :rage2:
Hello There, Here is my solution. Hope It's help another body. https://github.com/freeweed/ionic-panzoom
Hello There, Here is my solution. Hope It's help another body. https://github.com/freeweed/ionic-panzoom
I stopped on jQuery...
@leonardosalles I before jQuery I try zoom-area, And it's can't even build with --prod flag. sadly
Thanks for the issue! We have moved the source code and issues for Ionic 3 into a separate repository. I am moving this issue to the repository for Ionic 3. Please track this issue over there.
Thank you for using Ionic!
Issue moved to: https://github.com/ionic-team/ionic-v3/issues/41