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

zoom in ion-scroll not working in beta 2.0 #41

@ionitron-bot

Description

@ionitron-bot

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:

  1. use the code provided below (modification of demo)
  2. 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 

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions