Closed toninofox closed 3 years ago
+1 Have the same issue.
Tested on both Mac and Windows on the latest version of Chrome 89.0.4389.90 and we can't reproduce it.
That example doesn't have multiple selection enabled. You need multiSelect
.
That was just to show not even the single selection works. I can upload another recording of the multiselection but as you can see from the previous, the selected Row output at the bottom is always saying: "None".
i can update the original issue description as it looks like a problem on the SingleSelect as well and not only on the Multiselect
I can replicate it every time on Chrome on Mac. The culprit seems to be that mousemove and click events on that version of Chrome do not report the pageX and pageY property values using the same number type. One uses an integer and the other decimal. (See the Watch pane in the top right corner):
Should be fixed in 4.0.34
Using the latest Chrome version 89.0.4389.90 on Mac or windows, the Row selection/multiselection doesn't work anymore. The workaround is to use the Checkbox https://reactdatagrid.io/docs/row-selection#multiple-selection-with-checkbox-column but it is not user friendly anymore
Same table worked with older version of chrome or other browsers.
@inovua/reactdatagrid-community
- 4.0.27Relevant code or config Reproducible also in the demo page below https://reactdatagrid.io/docs/row-selection#multiple-row-selection
What you did: Trying to click on the row itself. Expecting that the row is marked as selected
What happened: Clicked row is not marked as selected and it is not displayed in the output "Selected Rows: none"
Problem description:
The only way to select a row is using checkbox, which become painful for multiple rows which in the past can be selected holding the Shift key