Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
After binding SfDialog's VisibleChanged and calling ShowAsync
the VisibleChanged event is triggered twice, first where 'visible' is true, immediately followed by another callback where 'visible' is false.
When closing/hiding the dialog, the 'VisibleChanged' is not triggered (as the 'visible' is false callback has previously been triggered with both true/false when the dialog became visible)
Attach is a minimal Blazor app showing said behaviour.
This can either be observed through the Console windows (printing both the events), or by placing a breakpoint inside the SfDialogVisibleChanged callback.
Steps to reproduce:
- open the project
- add a valid Sf license in Program.cs
- start the project
- click the button in the top left