Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49256

Ion-slides bugs when modal appear on press

$
0
0

@Nasco wrote:

Hi there, I have the following structure

<ion-slides>
 <ion-slide>
  <button tappable (click)="executeClickFunc()" (press)="executePressFunc()">Button 1</button>
 </ion-slide>

<ion-slide>
  <button tappable (click)="executeClickFunc()" (press)="executePressFunc()">Button 2</button>
 </ion-slide>

<ion-slide>
  <button tappable (click)="executeClickFunc()" (press)="executePressFunc()">Button 3</button>
 </ion-slide>
<ion-slides>

So the issue comes when on executePressFunc() I’m opening a modal (with the modalController) , and after modal closing, the slides are still being dragged (left or right) when moving with the mouse ( the focus on the slider is not lost ).

I’ve tried many things like lockSwipes(), touchRatio , also tried to swiperWrapper.blur() the swiper wrapper before the modal opens so it can lose focus… nothing works… :frowning: Would appreciate any help.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49256

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>