Skip to content

Commit

Permalink
Preparation for 2.7.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
kevzlou7979 committed May 8, 2023
1 parent 216e76a commit 21384c4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gwt-material/pom.xml
Expand Up @@ -4,7 +4,7 @@
<parent>
<artifactId>gwt-material-parent</artifactId>
<groupId>com.github.gwtmaterialdesign</groupId>
<version>2.7.0-SNAPSHOT</version>
<version>2.7.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Expand Up @@ -143,8 +143,12 @@ public void unload() {
// Hook for materialize bug on dropdown for not having closed once detach
if (getElement() != null && isAttached()) {
getElement().getStyle().setDisplay(Style.Display.NONE);

}

if (activatorElement != null) {
$(activatorElement).dropdown("remove");
}
$(activatorElement).dropdown("remove");
}

@Override
Expand Down
Expand Up @@ -63,7 +63,7 @@ public void testStructure() {
assertEquals(Color.RED, chip.getIconColor());

assertEquals(chip.getChipLabel(), chip.getWidget(0));
assertEquals(chip.getIcon(), chip.getWidget(1));
assertEquals(chip.getPrefixIcon(), chip.getWidget(1));
}

public void testLetter() {
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -5,7 +5,7 @@

<groupId>com.github.gwtmaterialdesign</groupId>
<artifactId>gwt-material-parent</artifactId>
<version>2.7.0-SNAPSHOT</version>
<version>2.7.0</version>
<packaging>pom</packaging>
<modules>
<module>gwt-material</module>
Expand Down

0 comments on commit 21384c4

Please sign in to comment.