Incomplete docs: "Close dialog when click outside of it"

Hi,
I'm wondering how to close classic (modeless) dialog when user click outside of it. I found solution in docs. Preview is working, but unfortunately source code is incomplete. App.tsx is missing.

Could you show correct solution here and complete docs?

Thanks for Syncfusion,
Mira.


1 Reply

VY Vinothkumar Yuvaraj Syncfusion Team October 23, 2022 01:20 PM UTC

Hi Miroslav Bartos,


We have validated your reported query. We will correct our documentation site and refresh the live link in any of our upcoming releases. Until then, you can follow the below sample code for your reference.


Sample : https://stackblitz.com/edit/react-mya5yq-k8djqu?file=index.js,index.css,index.html


Regards,

Vinothkumar


Loader.
Up arrow icon