Dectect of closing due to clicking outside of ActionSheet buttons

2 posts, 0 answers
  1. Bassanio
    Bassanio avatar
    11 posts
    Member since:
    Sep 2013

    Posted 21 Feb 2014 Link to this post

    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!
  2. Petyo
    Admin
    Petyo avatar
    2439 posts

    Posted 24 Feb 2014 Link to this post

    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!
  3. Kendo UI is VS 2017 Ready
Back to Top