Wednesday, August 3, 2011

Popup panel doesn't autohide in IE7.

Hi,

I'm using GWT 2.2.0.

I display a popup panel on click of a label. It is not hiding if I
click outside the label in IE7. It works fine in IE8, Firefox and
Google chrome.

Code:
HTMLPanel container = new HTMLPanel("");
container.setWidth("100px");
container.setHeight("100px");
container.setStyleName("containerBorder");
Label label = new Label("Test Popup");
label.addClickHandler(new ClickHandler() {
@Override
public void onClick(ClickEvent event)
{
final DecoratedPopupPanel popup = new
DecoratedPopupPanel(true);
popup.setAutoHideEnabled(true);
popup.setWidget(new Label("Popup"));
popup.show();
}

});
container.add(label);


I noticed the similar behaviour in GWT showcase :http://gwt.google.com/
samples/Showcase/Showcase.html#!CwBasicPopup
. Popup is displayed on
click of "Show Basic Popup" button. The popup doesn't dissappear when
I click on the far right side in IE7. It works fine in IE8, Firefox
and Chrome.

Any help appreciated.


Regards,
Leela

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment