Space key on MultiSelectionRenderer combobox selects grid row#10388
Conversation
|
Suggesting to re-use existing test UI for this. If you're busy and can't migrate the test, we can go with this. Reviewed 3 of 3 files at r1. uitest/src/main/java/com/vaadin/tests/components/grid/GridMultiselectSelectWithSpaceKey.java, line 7 at r1 (raw file):
Instead of making a whole new test class for this, you could extend the existing tests in GridSelectionTest. It already contains helper methods for testing selection. uitest/src/test/java/com/vaadin/tests/components/grid/GridMultiselectSelectWithSpaceKeyTest.java, line 42 at r1 (raw file):
This whole if block could be replaced by I guess the good message is a bit tricky to come up with though.. Can live without the change. Comments from Reviewable |
|
I can migrate the test during this weekend but feel free to do it on your own if you think it's better Comments from Reviewable |
|
uitest/src/main/java/com/vaadin/tests/components/grid/GridMultiselectSelectWithSpaceKey.java, line 7 at r1 (raw file): Previously, tsuoanttila (Teemu Suo-Anttila) wrote…
Done. Comments from Reviewable |
|
uitest/src/test/java/com/vaadin/tests/components/grid/GridMultiselectSelectWithSpaceKeyTest.java, line 42 at r1 (raw file): Previously, tsuoanttila (Teemu Suo-Anttila) wrote…
Replaced with existing assertion present in GridSelectionTest Comments from Reviewable |
|
uitest/src/main/java/com/vaadin/tests/components/grid/GridMultiselectSelectWithSpaceKey.java, line 7 at r1 (raw file): Previously, mcollovati (Marco Collovati) wrote…
Moved test into GridSelectionTest Comments from Reviewable |
|
Would it be possible to see this in 8.2 as well? The grid related patchnotes and this complement one another really well. |
Adds a key up handler on MultiSelectionRenderer checkbox in order to allow row selection pressing space key Fixes vaadin#10221
be15f98 to
b9f490f
Compare
|
Reviewed 3 of 3 files at r3. Comments from Reviewable |
Adds a key up handler on MultiSelectionRenderer checkbox
in order to allow row selection pressing space key
Fixes #10221
This change is