ionic-team / ionic-team/ionic-framework
bug: The ion-alert and ion-action-sheet components are rendered in Controller mode
- 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

### Additional Information
_No response_
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.