Hello,
how can I turn it off outside-click on Action Sheet
I want to close ActionSheet only with close button.
Thanks
5 Answers, 1 is accepted
Hello Sebahattin,
I am afraid that such functionality is not supported currently. You can submit this as a feature request on UserVoice, so that it is considered for implementation in a future release.
Regards,
Kiril Nikolov
Telerik
Hello Kiril,
I open the ActionSheet with touch-hold-event. But on touch-end Actionsheet will be closed.
I focus on hold-event to Action Sheet, does not work.
thanks
Hello Sebahattin,
I am not sure that I understand the issue that you are facing. As I said the functionality that you are looking for is not currently supported and was not able to understand your last post. Would you please elaborate?
Regards,
Kiril Nikolov
Telerik
<div data-role="view"> <a data-role="touch" data-hold="onHold" class="k-button">Open</a> <ul id="actionsheet"></ul></div><script> var app = new kendo.mobile.Application(); function onHold() { $("#actionsheet").kendoMobileActionSheet({ popup: { height: "auto", width: 200, direction: "left" }, type: (kendo.support.mobileOS.tablet) ? "Tablet" : "Phone", cancel: "Close" }); var templateData = kendo.template($("#actionsheetTemplate").html()); var actionsheetOutput = templateData(["Foo","Bar"]); $("#actionsheet").html(actionsheetOutput); $("#actionsheet").data("kendoMobileActionSheet").open();} </script><script type="text/x-kendo-template" id="actionsheetTemplate"> # for (index in data) { # <li><a>#=data[index]#</a></li> # } #</script>
This does not work. After mouseup the actionSheet closed.
I have taken new Kendo UI version. It works now.
ThanksHello Sebahattin,
I am happy to hear that the issue is resolved.
Regards,
Kiril Nikolov
Telerik