On Backdrop Click Event Handler

Hello.

I am hoping for an improvement to the dialog component’s backdrop click handling. Currently, the event handler for backdrop clicks is only available when “Close On Click Outside” property is enabled. This presents a issue: the dialog automatically closes before the event handler can execute, thus it is not possible to implemented confirmation prompts or custom logic prior to closure. I need the ability to capture the backdrop click event independently of the “Close On Click Outside” property, allowing for the execution of custom logic before any potential closure.


Currently I have to disable “On Backdrop Clicked” or re-open the dialog, which is not ideal.

Hi, Sivert

Thank you for this valuable feedback on the dialog component’s backdrop click handling. I’ve registered it as a ticket with our platform development team.

They’ll investigate adding the ability to capture backdrop click events independently of the automatic closure behavior, which would allow for custom logic before closure.
We appreciate you bringing this to our attention and helping us improve the platform!

Nikoline

1 Like