]> 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>
Tue, 12 Sep 2017 16:05:39 +0000 (19:05 +0300)
commit0554f3bc93a7f2a8d777e1c42f5e49fed7b059b2
tree12b84e12c0c18daa5a35b293648e2bfb31bb95d6
parent8ad48fcece9a0e1071b2725a57f99c7bc91f4d7f
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]