Closed aleksander351 closed 1 year ago
Thanks for the issue! This issue has been labeled as needs reproduction
. This label is added to issues that need a code reproduction.
Please reproduce this issue in an Ionic starter application and provide a way for us to access it (GitHub repo, StackBlitz, etc). Without a reliable code reproduction, it is unlikely we will be able to resolve the issue, leading to it being closed.
If you have already provided a code snippet and are seeing this message, it is likely that the code snippet was not enough for our team to reproduce the issue.
For a guide on how to create a good reproduction, see our Contributing Guide.
turned out it was a problem with swiper.js
adding (click)="$event.preventDefault();
solved it for me.
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Prerequisites
Ionic Framework Version
v7.x
Current Behavior
When I open a modal with the click of a button, the modal shows up twice. As you can see from the image, the
<ion-app>
element appears only once in the application. Some post suggested the problem is because there are multiple instances of<ion-app>
on the page.Expected Behavior
Modal should show only one instance.
Steps to Reproduce
The code of the controler
Code Reproduction URL
No response
Ionic Info
Additional Information
No response