Is there a way to prevent the overlay drawer from closing when the user clicks in the gray overlay area and force them to click a button that fires the toggle method?
1 Answer, 1 is accepted
0
Yanmario
Telerik team
answered on 24 Dec 2021, 09:13 AM
Hi Noah,
To achieve the desired requirement, the developer should handle the click event on the k-overlay that is rendered by the component. Please check the following example demonstrating such an approach:
Additional business logic can be applied and conditionally prevent or execute the event that will close the Drawer component.
I hope this helps. Please let me know if I can provide any further assistance on this matter.
Regards,
Yanmario
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.