Ionic zooming="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>
我还没有找到任何解决方案,现在关闭。
如果有人来到这里并找到答案,请通过评论告诉我。
我有显示附件的模式。 当我在模态和捏缩放中显示一个图像时,关闭模态并单击第二个图像,第二个图像已经缩放。
如何阻止这种情况发生?
<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>
我还没有找到任何解决方案,现在关闭。
如果有人来到这里并找到答案,请通过评论告诉我。