]> source.dussan.org Git - vaadin-framework.git/commit
Avoid detaching VL/HL children unnecessarily (#9862)
authorHenri Sara <henri.sara@gmail.com>
Wed, 23 Aug 2017 11:06:00 +0000 (14:06 +0300)
committerHenri Sara <henri.sara@gmail.com>
Tue, 29 Aug 2017 14:36:54 +0000 (17:36 +0300)
commit0ef54ee29a3bf473efb5d1b29fc386de3341aaae
tree361b646d35f091d9e8c98d365607adcbd78c5589
parent418a06f3fa5eeb3252f79cfe59fa1b4304deec08
Avoid detaching VL/HL children unnecessarily (#9862)

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

Fixes #7713
client/src/main/java/com/vaadin/client/ui/orderedlayout/AbstractOrderedLayoutConnector.java
uitest/src/main/java/com/vaadin/tests/layouts/VerticalLayoutRemoveComponent.java [new file with mode: 0644]
uitest/src/test/java/com/vaadin/tests/layouts/VerticalLayoutRemoveComponentTest.java [new file with mode: 0644]