Skip to content

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

@Monsterwolfzzz

Description

@Monsterwolfzzz

Prerequisites

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

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions