]> source.dussan.org Git - vaadin-framework.git/commit
Table / TreeTable multiselect disabling of touch detection (#12014) pr12027/r10
authorAnna Koskinen <Ansku@users.noreply.github.com>
Tue, 19 May 2020 10:13:25 +0000 (13:13 +0300)
committerGitHub <noreply@github.com>
Tue, 19 May 2020 10:13:25 +0000 (13:13 +0300)
commit0645a86e5b6951de0e5b170657a2eaf74a7e9b77
tree9c327c0e4f21a129a8815ae796196aaf5ff3ce51
parent667da64f804528a3e4a93dda3db708085104b844
Table / TreeTable multiselect disabling of touch detection (#12014)

Added a toggle in Table (and thus TreeTable) where you can explicitly
disable multiselect touch screen detection. This allows you to work
around issues on hybrid devices that have both a touch screen and a
keyboard where you don't want automatic simple multiselection applied.

Fixes #11601, slightly modified cherry-pick of #11641
compatibility-client/src/main/java/com/vaadin/v7/client/ui/VScrollTable.java
compatibility-server/src/main/java/com/vaadin/v7/ui/Table.java
uitest/src/main/java/com/vaadin/tests/components/table/CtrlShiftMultiselect.java
uitest/src/main/java/com/vaadin/tests/components/table/CtrlShiftMultiselectTouchDetectionDisabled.java [new file with mode: 0644]
uitest/src/main/java/com/vaadin/tests/components/treetable/TreeTableMultiselect.java [new file with mode: 0644]
uitest/src/test/java/com/vaadin/tests/components/table/CtrlShiftMultiselectTouchDetectionDisabledTest.java [new file with mode: 0644]
uitest/src/test/java/com/vaadin/tests/components/treetable/TreeTableMultiselectTest.java [new file with mode: 0644]