Petteri H
Petteri H

Reputation: 12202

GWT dispose modal dialog by clicking outside of it

I have a HSV color selector on a dialog and I would like to provide user several ways to dispose the dialog. I have normal buttons and such but I would also like to make it disappear when user clicks outside of it.

Is there a way to do this in GWT?

Upvotes: 1

Views: 1786

Answers (1)

Javier Ferrero
Javier Ferrero

Reputation: 8811

You can enable PopupPanel auto hide. When enabled, the popup will be automatically hidden when the user clicks outside of it.

Upvotes: 5

Related Questions