jtsage/jquery-mobile-datebox — Issue #142: iPhone 4 and iPad 2 popup display issue
Author: darkdivine
Created: 2011-12-30 15:37:27+00:00
State: open

Hi,

I am having trouble with the datebox on an iPad 2 and iPhone 4.
I have a form with 2 dateboxes and some simple dropdowns done using JQM v1.0.

Sometimes, at randomly it seems, when clicking the datebox input it displays the popup calendar and then closes directly after. The funny thing is if I press where a number is going to be displayed, it will update the input as if I pressed that number when it closes, almost like I double-tapped and selected it.

I have tried everything I can think of but it just won't play ball. Any help you be greatly appreciated.

Here are my default settings that I have used:

```javascript
jQuery.extend(jQuery.mobile.datebox.prototype.options, {
'dateFormat': 'dd/mm/YYYY',
'mode': 'calbox',
'pickPageButtonTheme': 'c',
'noButtonFocusMode': true,
'afterToday': true,
'noAnimation': true,
'disabledDayColor': '#CCC',
'disableManualInput': true,
'useDialogForceFalse': true
});
```

This problem only seems to appear on apple related products, as in various browsers on my windows PC and an android based phone it works perfectly.

Thanks,
Gary
darkdivine@live.co.uk