繁体   English   中英

Ionic zoom =“true”不会重置页面缩放

[英]Ionic zooming=“true” does not resets the page zoom

我有用于显示附件的模态。 当我以模态和捏缩放显示一个图像时,关闭模态并单击第二个图像,第二个图像已经缩放。

如何阻止这种情况发生?

<script id="modal.html" type="text/ng-template">
  <ion-modal-view>
    <div class="bar bar-header" class="ng-cloak">
      <button class="button button-clear ion-ios-arrow-left fontSize25" ng-click="closeModal()"></button>
      <h1 class="title customeHeared white-color">Attachment</h1>
    </div>
    <ion-content>
      <ion-scroll zooming="true" direction="xy" delegate-handle="zoom-pane" class="zoom-pane" min-zoom="1">
        <img ng-src="{{imagePath}}" style="width: 100%;padding: 20%;"/>
        </video>
      </ion-scroll>
    </ion-content>
  </ion-modal-view>
</script>

我还没有找到任何解决方案,现在关闭它。

如果有人来到这里找到答案,请通过评论告诉我。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM