handsontable icon indicating copy to clipboard operation
handsontable copied to clipboard

Merge + checkbox: toggling with space assigns values to hidden merged cells

Open VsevolodGolovanov opened this issue 2 years ago • 1 comments

Describe the bug

Have some checkbox cells merged, select the merged area and press space - this changes not only the value of the top-left corner cells, but also of all the cells that are hidden by the merge. This doesn't happen if you click the checkbox.

Video/Screenshots

The linked reproducer outputs hot.getData() to a simple HTML table below the HOT table. Starting state: image After toggling with space: image Note also how it doesn't just assign true or false to all - it toggles each cell value individually leading to different values, if you start with true in the top-left cell.

Provide a link to the demo with the bug reproduction

https://codesandbox.io/s/handsontable-data-grid-merge-checkbox-toggling-with-space-assigns-values-to-hidden-merged-cells-hlxr63?file=/src/index.js

Handsontable version

13.0.0

Framework version

No response

Your environment

Windows 11, Firefox 115.0.2

VsevolodGolovanov avatar Jul 13 '23 13:07 VsevolodGolovanov

Thank you for sharing the issue report @VsevolodGolovanov

I have replicated the issue on Chrome 114 / macOS Ventura.

AMBudnik avatar Jul 14 '23 10:07 AMBudnik