How can we disable the zooming function of ion-slides
in Ionic 4, I already tried adding zoom="false"
input on ion-slides
element but it's not working, when I am double tapping on the screen it's still zooming the image and breaking the design.
You can disable zoom using below code in options of ion-slides in your ts file.
slideOpts = {
zoom: false
};
<ion-slides [options]="slideOpts">
<ion-slide>..</ion-slide>
</ion-slides>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With