]> source.dussan.org Git - vaadin-framework.git/commit
Remove element explicitly when reordering tree grid rows (#9952)
authorAdam Wagner <wbadam@users.noreply.github.com>
Mon, 11 Sep 2017 09:02:20 +0000 (12:02 +0300)
committerHenri Sara <henri.sara@gmail.com>
Mon, 11 Sep 2017 09:02:20 +0000 (12:02 +0300)
commit0b58bc480e7f86b1e5285e9d59475593e5abbf5f
tree430073d229ad7c4c5cd0cf34ea761ba8a6cc32d7
parentfb207248d5567a2661d5729d5149c7c8920a2efa
Remove element explicitly when reordering tree grid rows (#9952)

Under certain circumstances IE 11 (11.0.45 / 11.0.9600.18762) produces an exception when collapsing/expanding rows (particularly the first child after the very first element) in a TreeGrid within a Window.

This workaround removes the row explicitly before inserting, instead of letting JS handle it.

Fixes #9850
client/src/main/java/com/vaadin/client/widgets/Escalator.java
uitest/src/main/java/com/vaadin/tests/components/treegrid/TreeGridInWindow.java [new file with mode: 0644]
uitest/src/test/java/com/vaadin/tests/components/treegrid/TreeGridInWindowTest.java [new file with mode: 0644]