ionic-team / ionic-team/ionic-framework

bug: The ion-alert and ion-action-sheet components are rendered in Controller mode

Aperta
#30,141 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
triage
Lingua principale
TypeScript
Stelle
52.7k
Fork
13.3k
Merge medio
1g 15h
PR unite (30g)
51

Descrizione

### Prerequisites

- [x] I have read the [Contributing Guidelines](https://github.com/ionic-team/ionic-framework/blob/main/docs/CONTRIBUTING.md#creating-an-issue).
- [x] I agree to follow the [Code of Conduct](https://ionicframework.com/code-of-conduct).
- [x] I have searched for [existing issues](https://github.com/ionic-team/ionic-framework/issues) that already report this problem, without success.

### Ionic Framework Version

v8.x

### Current Behavior

The ion-alert and ion-action-sheet components are rendered in Controller mode, and the dom structure is not removed when dismissed. And if triggered multiple times, the dom structure will continue to accumulate, and the document example can be reproduced

### Expected Behavior

The dom structure should be removed when dismissed

### Steps to Reproduce

1.open the [https://ionicframework.com/docs/api/alert#controller-alerts](url)
2.Go to the Controller Alerts
2.Click Me button
3.Dismiss alerts
4.The browser views the Element dom

### Code Reproduction URL

https://ionicframework.com/docs/api/alert#controller-alerts

### Ionic Info

![Image](https://github.com/user-attachments/assets/36c10d42-95a0-4628-a40f-c351d399e4cb)

### Additional Information

_No response_

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.