ionic-team / ionic-team/ionic-framework

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

Abierto
#30,141 0 comentarios 0 reacciones 0 asignados Ver en GitHub
triage
Lenguaje dominante
TypeScript
Estrellas
52.7k
Forks
13.3k
Merge medio
1 d 15 h
PR fusionados (30 d)
51

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.