Skip to content

[8.0.0-beta.2/8.0.0-rev1] Moving collapsed nestedRow causes error #7132

@aninde

Description

@aninde

Description

In a specific case when we try to move collapsed nestedRows (parent row) browser's console throws an error.
This error should be handled in v8.0.0-beta.2 It's thrown in both options: move up and move down

In version 8.0.0-beta.1 and versions 7+, nothing happens when I try to reproduce this bug - there is no bug, and there is no shift.

Steps to reproduce

Case 1

  1. Open demo, collapse all parents rows.
  2. Try move upward any row from.

Case 2

  1. Collapse first parent row.
  2. Double-click on the second uncollapsed row.

The result is the same.

pre-8.0.0-rev1
8.0.0-beta.2
bug-beta2

8.0.0-beta.1 and 7.4.2
8 0 0-beta 1-nestedR-ff78

Demo

https://jsfiddle.net/aninde/tfcuazqr/ - 7.4.2 (solved)
https://jsfiddle.net/aninde/two5v2zr/ - 8.0.0-beta.1 (solved)
https://jsfiddle.net/aninde/ktzy0a94/ - 8.0.0-beta.2 (broken)
https://jsfiddle.net/aninde/w6cahfo9/ - latest pre-8.0.0-rev1 (broken)

Your environment

  • Handsontable version: 8.0.0-beta.2 and pre-8.0.0-rev1
  • Browser Name and version: Firefox 78, Edge 83
  • Operating System: macOS Catalina 10.15.5, Windows 10

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions