Skip to content

bug: Ionic 8.5 regression: DOMException: Node.removeChild: The node to be removed is not a child of this node #30279

@aeharding

Description

@aeharding

Prerequisites

Ionic Framework Version

v8.x

Current Behavior

After upgrading to 8.5.0 I started encountering the following crash:

DOMException: Node.removeChild: The node to be removed is not a child of this node

Expected Behavior

No crash

Steps to Reproduce

View codepen, see app fails to load with error in console

Code Reproduction URL

https://stackblitz.com/edit/13jjhrag-hfjp2apn

Ionic Info

Ionic v8.5.0

Additional Information

It does NOT happen in 8.4.x. See this working codepen:

https://stackblitz.com/edit/13jjhrag-p1q8ymbd

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions