We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6429226 commit 09f5d5bCopy full SHA for 09f5d5b
gwt-material/src/main/java/gwt/material/design/client/ui/MaterialDropDown.java
@@ -129,13 +129,19 @@ public void load() {
129
}
130
131
$(activatorElement).dropdown(options);
132
+
133
134
135
@Override
136
public void unload() {
137
for (HandlerRegistration handler : handlers) {
138
handler.removeHandler();
139
140
141
+ // Hook for materialize bug on dropdown for not having closed once detach
142
+ if (getElement() != null && isAttached()) {
143
+ getElement().getStyle().setDisplay(Style.Display.NONE);
144
+ }
145
$(activatorElement).dropdown("remove");
146
147
0 commit comments