We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

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

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,

1 Reply

VY Vinothkumar Yuvaraj Syncfusion Team October 23, 2022 08:20 AM

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



Live Chat Icon For mobile
Up arrow icon