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

Dectect of closing due to clicking outside of ActionSheet buttons

1 Answer 32 Views
ActionSheet
This is a migrated thread and some comments may be shown as answers.
Bassanio
Top achievements
Rank 1
Bassanio asked on 21 Feb 2014, 08:58 AM
Hello,

According to the docs, ActionSheet on iOS works like a modal dialog, clicking outside of it will not close the ActionSheet. However, I tried it on iPhone/iPad, it will close even it was clicked outside any selection buttons.

Anyway, my question is how to know if the ActionSheet is closed. There is a Close event, but it is only triggered if the Cancel button is selected. If you click outside to make the ActionSheet closing, the Close event will not be fired.

http://jsbin.com/yumiw/1/edit

Please help! Thansk!

1 Answer, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 24 Feb 2014, 04:09 PM
Hello Bassanio,

Thank you for contacting us. Indeed, the docs need an update - the ActionSheet behavior changed from iOS 6 to 7, and it is no longer modal. 

Regarding your second question - we have not exposed such event (cancel) yet, but it is in our roadmap for our upcoming 2014 Q1 release. 

Regards,
Petyo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
ActionSheet
Asked by
Bassanio
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Share this question
or