2017-05-18 13 views
1

첨부 파일을 표시하는 모달이 있습니다. 모달 및 핀치 줌으로 하나의 이미지를 표시 할 때 모달을 닫고 두 번째 이미지를 클릭하면 두 번째 이미지가 이미 확대됩니다.Ionic zooming = "true"는 페이지 확대/축소를 재설정하지 않습니다.

어떻게 이런 일이 일어나지 않게 할 수 있습니까?

<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> 
+0

이 호를 작성한 예제를 –

+0

에게 줄 수 있습니다. 이오닉 프로젝트를 만들고 두 개의 이미지를 찍은 다음 스크립트를 작성하여 클릭 한 이미지가 위와 같은 모달로 열리도록하십시오. 나는 그것이 당신에게 문제를 일으킬 것이라고 확신합니다. –

답변

0

이 문제에 대한 해결책을 찾지 못했습니다. 지금 종료하십시오.

누구나 여기에 와서 대답을 찾으면 답장을 보내주십시오.