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