I was able to fix my problem by commenting out the following conditional within the datebox framework:
- // Check options to see if we are closing a dialog, or removing a popup
- if ( self.options.useDialog ) {
- //if (!fromCloseButton) {
- $(self.pickPage).dialog('close');
- //}
- }
I did a test on all my devices and didn't seem to break anything else. I would like to understand more, but we do have a release deadline.
From what I can tell, that conditional checks if the user is closing the dialog not by tapping on the close button (X), but some other means. On tablets, there is no close button. You simply tap on the screen or select a date. This still works as expected with this conditional commented out.