]> source.dussan.org Git - vaadin-framework.git/commit
Avoid detaching CssLayout children unnecessarily (#9861)
authorHenri Sara <henri.sara@gmail.com>
Wed, 23 Aug 2017 10:11:24 +0000 (13:11 +0300)
committerGitHub <noreply@github.com>
Wed, 23 Aug 2017 10:11:24 +0000 (13:11 +0300)
commit139c4cf40b6e914df65ec474d5a8523849489e24
tree34e755ef259e205306caf1da0042f0a95574dd85
parent5b13a397d86a20686d0052cfdec9d39696477655
Avoid detaching CssLayout children unnecessarily (#9861)

When child components are removed from a CssLayout, do not remove other
children from the DOM if no other hierarchy changes are made.

Fixes #7712
client/src/main/java/com/vaadin/client/ui/csslayout/CssLayoutConnector.java
uitest/src/main/java/com/vaadin/tests/layouts/CssLayoutRemoveComponent.java
uitest/src/test/java/com/vaadin/tests/layouts/CssLayoutRemoveComponentTest.java [new file with mode: 0644]