This is a migrated thread and some comments may be shown as answers.

Hide on click outside

1 Answer 190 Views
AnimationContainer
This is a migrated thread and some comments may be shown as answers.
qw
Top achievements
Rank 1
qw asked on 29 Jan 2021, 04:40 AM
It is possible to hide AnimationContainer on click outside of it?

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 29 Jan 2021, 09:59 AM

Hello,

This is a feature we might implement for the Window, you can Vote for it and Follow it here if you find it useful: https://feedback.telerik.com/blazor/1451714-window-modal-click-on-overlay-to-close.

For the animation container - you can add your own overlay to handle the click event (or handle it otherwise, e.g., with JS) in order to hide the animation container. You can find a similar example in this thread (see my post from 18 Aug 2020, just add the desired click handler to call the Cancel method in this sample).

 

Regards,
Marin Bratanov
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/.

Tags
AnimationContainer
Asked by
qw
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or