]> 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)
committerGitHub <noreply@github.com>
Wed, 23 Aug 2017 11:06:00 +0000 (14:06 +0300)
commit49a35ff6fcc0aab561ac454858b8763d8cf6f6cb
tree5914b0e434e4e2022ea9c3ffd763e4f448b4c1c3
parentf09d8c74dfb44854b4982a0b54de8564ff324d00
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]