Unanswered: DatePicker [GWT 2.2.0 - Ext for GWT] does not open up in IE8
The problem is more specific when the GWT UI is placed inside a jsp.
<div id="ptc_setEffectivityRangePicker_div"></div> is used in setEffectivityRangeWizStep.jsp which houses the GWT Widget created through SetEffectivityRangePickerController.java
RootPanel div = RootPanel.get("ptc_setEffectivityRangePicker_div");
DateField dateField = new DateField();
After debugging the GWT extjs source code - It is the com.extjs.gxt.ui.client.widget.form.DateField class that reacts to a windowresize event which eventually triggers the hiding in IE8 only. The onWindowResize which hides the DatePicker is on the DateMenu class which is a private field in DateField.java
I also tried overriding other methods to try some luck but nothing worked – overrode methods viz. onResize, onAttach etc.. but the code flow control always ends up with onWindowResize of DateMenu.
Is this a bug ? If yes how can I actually stop the onWindowResize from being called in IE8 ?
Thanks in advance
Issue Resolved - in my particular usecase :)
The fix –> replaced “scrollbars=yes” with “scrollbars=auto” while invoking window.open ().