Recently, I have been working on a project where the interface should work for desktop and tablets (in particular the iPad).
One issue I am coming across is with a Dojo dialog on the iPad when text entry is taking place.
Basically here is what happens:
- Load Dojo interface with buttons on iPad - OK
- Press button (touch) to show dialog (90% height and width) - OK
- Click on text box (touch) like DateTextBox or TimeTextBox - OK, the virtual keyboard is opened
- Click the date or time I want in the UI (touch) - OK, but I can't see all of the options since it is longer than the screen size...
- Try to scroll down (swipe up with two fingers or click 'next' in the keyboard) - not OK and the dialog repositions itself to have it's top at the top of the viewport area.
Basically, the issue is that the dialog keeps trying to reposition itself.
Am I able to stop dialog resizing and positioning if I catch the window onResize events?
Does anyone else have this issue with the iPad and Dojo dialogs?
Also, I found this StackOverflow topic on detecting the virtual keyboard, but it wasn't much help in this case...
Thanks!