Opened 3 years ago
Closed 3 years ago
#2254 closed defect (fixed)
Race condition between lazy items and sticky columns
Reported by: | Nicklas Nordborg | Owned by: | everyone |
---|---|---|---|
Priority: | minor | Milestone: | BASE 3.18.2 |
Component: | web | Version: | |
Keywords: | Cc: |
Description
Both the lazy items and the sticky column features require that javscript update the document after it has been loaded. The lazy items feature will fill in missing information in columns. This is done in batches for a few table rows at a time. The sticky column feature need to calculate the coordinate where the column should stick. It seems like these two feature may interfere and cause the calculation of the sticky column to be incorrect causing it to stick in an incorrect position.
It is very hard to re-produce this since it doesn't happen every time. Investigating the code reveals that the implementation is such that first an asynchronous call to load lazy items is made. Then, the call to fix the sticky column. After that the result of the first lazy load is processed, and finally the rest of the lazy items are loaded batch-wise.
It might help to re-order the calls so that the sticky column is handled before the first call to load lazy items.
In 7960: