Toast is not disappearing completely on Hide

Hello dear support.
If the toast is hide and show faster than specific time - it will not disappear anymore, but leave some sort of leftovers of it.
To reproduce the bug - just click the button faster and observe the result.

Attachment: StockChartFeatures_3019afe8.zip

10 Replies 1 reply marked as answer

IS Indrajith Srinivasan Syncfusion Team December 16, 2020 08:23 AM UTC

Hi Yordan, 
 
Greetings from Syncfusion support, 
 
We have validated your reported query. We have tried to reproduce the reported issue form our end, and unfortunately we couldn’t find any issues with the SfToast. The SfToast is hidden and the new toast with chart content is shown, and no toast is left from disappearing. We have also shared the ensured sample form our end using the latest Nuget version 18.3.53. 
 
 
Can you please share us the following details, 
 
  • Nuget package version you are using ?
  • Are you able to reproduce the reported issue “but leave some sort of leftovers of it” in the above shared sample ?
 
The above details will be helpful for us to further validate on the reported issue. 
 
Regards, 
Indrajith 



YO Yordan December 16, 2020 10:29 AM UTC

I can reproduce the issue practically anytime. It's always happening. The sample I have posted is with 18.3.0.53 version of the components. 


YO Yordan December 16, 2020 10:32 AM UTC



YO Yordan December 16, 2020 10:39 AM UTC

Yes. I am able to reproduce it with the example You've posted.


IS Indrajith Srinivasan Syncfusion Team December 17, 2020 01:47 PM UTC

Hi Yordan, 
 
Good day to you, 
 
We have further validated on the reported query, and able to reproduce the reported issue if interacted fast. The reported issue occurs since the StockChart component is not rendered after the first SfToast rendering, due to duplication of ID for the chart component in the DOM. In order to resolve the reported issue, we suggest you to remove the ID set for the StockChart component. So that with the random ID generation for StockChart, the reported issue will be resolved. 
 
Remove the ID configured for the StockChart component: 
 
 
<SfStockChart ID="chart"></SfStockChart> 
 
 
Please let us know if the solution helps, 
 
Regards, 
Indrajith 



YO Yordan December 18, 2020 12:15 AM UTC

This seems to fix partially the issue. With this done - the leftovers is now gone, but if i continue to click faster the button the toast does not hide sufficiently fast. and not i have multiple toasts charts instead of leftovers.



IS Indrajith Srinivasan Syncfusion Team December 18, 2020 01:42 PM UTC

Hi Yordan, 
 
Good day to you, 
 
We are currently validating your reported query “But if i continue to click faster the button the toast does not hide sufficiently fast.” and will update you with further details on or before two business days by 22nd December. 
 
Regards, 
Indrajith 



IS Indrajith Srinivasan Syncfusion Team December 23, 2020 02:47 PM UTC

Hi Yordan, 
 
We have further validated on the reported query. The corresponding toast element is not removed properly, hence the reported issue occurs. We have improved the performance of the SfToast with our Volume 4 main release, using our Nuget package version 18.4.30. You can now access the currently opened toast and hide it. Check the below modified sample and documentation for reference. 
 
 

Regards, 
Indrajith 


Marked as answer

YO Yordan December 23, 2020 04:13 PM UTC

Thank You dear Syncfusion support.


IS Indrajith Srinivasan Syncfusion Team December 24, 2020 06:43 AM UTC

Hi Yordan, 
 
Welcome, 
 
Please let us know if you need any further assistance. 

Regards, 
Indrajith 


Loader.
Up arrow icon