By default, the Action Sheet will be closed automatically when the following condition occurs −
When the Action Sheet buttons are clicked.
When you click outside of the Action Sheet's overlay window.
The Action Sheet can be closed manually by using the appropriate app's method as shown below −
myApp.closeModal(actionSheet) − It is used to close popup. It takes actionSheet as optional parameter, which is an HTMLElelement or string (with CSS Selector) of the Action Sheet to be closed. If this parameter is not specified then any opened Action Sheet will be closed.