-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[8.0.0.-beta2-rev1] Data from a merged cell is gone if its part is hidden - empty editor #6872
Comments
If we go to https://jsfiddle.net/xc7uaohL/ and click CTRL/CMD + Z to undo the |
|
This comment has been minimized.
This comment has been minimized.
Case 2Steps
Result The issue's also replicable in 8.0.0-beta2-rev10 https://jsfiddle.net/AMBudnik/k6robep7/1/ |
Exactly how it supposed to. This is the desired behavior. Check XL and GS. |
@wojciechczerniak is right. Works the same way in Google Sheets 🤔 but I did not change my mind when it comes to UX this looks odd. Nevertheless, we can check if it works the same way after we get some fresh new commits 👍 |
@wojciechczerniak what about this, let's call it case 3 Case moved to #6978
I would expect to get the same result as we get (cause we do not support undo-redo for hiding/showing) but with header Here's Google Sheets reproduction for comparison |
True. Only A header should be selected. Is this a regression? For undo/redo hidding column we should have a separate issue. This is out of scope |
Broken in 8.0.0-beta2-rev10 https://jsfiddle.net/AMBudnik/2t5sdgoz/ as well as 7.4.2 (and 6.2.2) https://jsfiddle.net/AMBudnik/bp0xrv1y/ - not a regression. I'll move it to a separate issue. |
Probably related to the Handsontable 7+. Please check if extra information should be added to the #6871. |
all - 8.0.0.beta2-rev6 http://jsfiddle.net/AMBudnik/mvntg5pb/ 8.0.0.beta2-rev7 - rev10 http://jsfiddle.net/AMBudnik/2yq6zj91/ We may say that it never displayed the value and before rev7 it was broken even worse. EDIT: Works the same for rev11 http://jsfiddle.net/AMBudnik/43poemx6/ |
@AMBudnik you're right, this issue (#6872 (comment)) has already been partially reported here #6224 (comment). |
The main issue is solved in 8.0.0-beta2-rev11 https://jsfiddle.net/AMBudnik/ctjm0zhv/ it works the same way as it worked before the regression. As case 2 is intended, case 3 is moved and the case with
is reported in other issues we can close this topic. Thanks guys! |
Description
Data from a merged cell is gone if its part is hidden. It is a regression from this issue #6871 - previously it was just a UI issue, in 8.0.0.-beta2 data is also gone from the editor.
Steps to reproduce
B2
in the editor but it's blanktest
in the merged cell - you can seetest
in the cellB2
, nottest
If you at this point click the button, you'll get
B2
on its position andtest
on C2. Which also reflects if you unmerge the cells.Previously
B2
test
in the merged cell - you cannot seetest
in the cellNEW
data is visible -test
Demo
https://jsfiddle.net/handsoncode/8ffpsqt6/ 7.4.2
https://jsfiddle.net/4brxm2df/2/ 8.0.0.-beta2 from commit 929b22c (last working)
https://jsfiddle.net/4brxm2df/3/ 8.0.0.-beta2 from commit 81020af (first broken)
https://jsfiddle.net/4brxm2df/4/ 8.0.0.-beta-rev4 (still broken)
Related issues
Your environment
The text was updated successfully, but these errors were encountered: