-
Notifications
You must be signed in to change notification settings - Fork 124
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
[Bug]: Missing exported changes when batching operations #1291
Comments
valuesUpdated
When Batching Array Formula
Hi @BrianHung Thank you for reporting this. I also test it in various scenarios, and I can confirm your observations. I'll forward this to our HyperFormula developer for further investigation. |
@adrianszymanski89 Think I found the bug and implemented a fix: #1294 By the looks of it, it was a 2 year old bug where the author was refactoring code and forgot to use a new internal utility |
Hi @BrianHung Thank you for the fix! I'll update our developer about the PR. |
Hi @BrianHung We have an update here as well. I hope you'll benefit from those changes. ps. If you'd like to know what also changed in the version here are our release notes https://hyperformula.handsontable.com/guide/release-notes.html#_2-6-0 |
Description
When batching an array formula along with neighboring cell values, change values for neighboring cells are not emitted in
valuesUpdated
or in exported changes when resuming evaluation. Note that values are correctly in hyperformula though (getSheetSerialized
is correct).That means, if we batch an array with a column formula with cells in the same row, none of the cells in the same row will be emitted.
Likewise, if we batch an array with a row formula with cells in the same col, none of the cells in the same col will be emitted.
Batching an array with multiple rows and columns works though.
Code sandbox showing it doesnt work row for adjacent col values if array row formula.
https://codesandbox.io/s/angry-pond-tmy9fq?file=/src/hyperformulaConfig.js
Code sandbox showing it doesnt work for adjacent row values if array col formula.
https://codesandbox.io/s/bold-dawn-w8383q?file=/src/hyperformulaConfig.js
Video or screenshots
No response
Demo
https://codesandbox.io/s/angry-pond-tmy9fq?file=/src/hyperformulaConfig.js
HyperFormula version
2.4.0
Your framework
No response
Your environment
Chrome
The text was updated successfully, but these errors were encountered: