簡體   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