Regression on 24.2.x - Cannot read properties of null (reading 'removeChild')

Hi,


Since 24.2.x SfToast can throw this error in some cases :  Cannot read properties of null (reading 'removeChild').

It can occurs when we navigate on a page with an SfToast element and move on another page.

Here you can test (by clicking twice on the toggle button) that it was working on 24.1.4x and fails on 24.2.x : https://blazorplayground.syncfusion.com/BXVftrtVotLvwoXx


It can be solved if the <SfToast> element is moved inside its target, but it's still a regression comparing previous versions.


Regards,

Julien


2 Replies 1 reply marked as answer

KP Kokila Poovendran Syncfusion Team February 5, 2024 09:34 AM UTC

Hi Julien Barach,


We have considered the reported issue "When navigating to a page with an SfToast element and then moving to another page, an exception occursas a bug from our end and the fix for the issue will be included with our upcoming patch release ,which is expected to be rolled out at the middle of February, 2024. Now you can track the status of the reported issue through the feedback below,


Feedback Link:  https://www.syncfusion.com/feedback/50526/unhandled-exception-when-using-sftoast-on-interactiveserver-page-and-go-to-any-non


Disclaimer: Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.

 



KP Kokila Poovendran Syncfusion Team February 13, 2024 11:27 AM UTC

Hi Julien Barach


We have included the fix for the issue "When navigating to a page with an SfToast element and then moving to another page, an exception occurs" with our package version “24.2.5”. Therefore, we recommend upgrading to our latest version to resolve the current issue.


Regards,

Kokila Poovendran.


Marked as answer
Loader.
Up arrow icon