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!
The OnClose and Closing events get triggered even after using e.Cancel in OnOpen to cancel the "Open" action of the dropdown.
Steps to Reproduce
Setup:
Steps:
Expected Behavior
According to the documentation the Cancel property:
Gets or sets the whether the dropdown popup open action should be canceled or not
If we use OnOpen to cancel the "Open" action, we should never see the OnClose or Closed events. Since the dropdown never opens, it should never get closed.
Root Cause
Even though e.Cancel prevents the dropdown from opening, it seems to set the internal state, so the dropdown "thinks" it is open, even though it's not.