Security Level: Jimmy
Run attached zul + java sample
Set the browser zoom level to 90% (also can reproduce on 100%, but less frequently)
Load the page
Resize the window to ~40 rows on screen
reload the page
While the page is loading, scroll down continuously
Click a cell. If the cell blue selection square matches the row number blue selection highlight, then you didn't reproduce the issue. try again from "reload the page"
Some rows are missing, the selection box is desynced from the row selection highlight by that many rows.
May or may not cause other JS issues
May or may not cause typing values to a new cell to write the input value to a number of rows above based on missing rows.
see screenshots attached:
#1: selection square is not synced with actual selection
#2 missing rows : (the excel document doesn't have hidden rows)
sample of possible JS errors:
No missing rows, not secondary issues
The sample contain a "performance lowering pseudo-sleep function" because the user must scroll while rendering cells.
The issue can be reproduced without it, but it would have made creating a reproducing excel sheet way more time-consuming (it would require a lot of expensive features like large data, lot of references, merged cells and styles)
The issue happens if the user scrolls after the rows from the initial rendering have been added to the DOM, but while the rows with wrapping cells and auto height are still calculating their heights.
(cell height calculation cause the active range to be pruned)
the issue is timing sensitive, so you may need to reload and scroll multiple times to reproduce.
reported on 5.9.0, also reproduced on 5.10.0
In the zul file attached, commented out