ionic-team / ionic-team/ionic-framework

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

Offen
#30,141 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
triage
Vorherrschende Sprache
TypeScript
Sterne
52.7k
Forks
13.3k
Ø Merge
1 T. 15 Std.
Gemergte PRs (30 T.)
51

Beschreibung

### 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_

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.