Frontmatter
| id | 2216 |
| title | Inspect the event flickering while infinite scrolling inside the calendar week view |
| state | Closed |
| labels | enhancementhelp wanted |
| assignees | [] |
| createdAt | May 31, 2021, 12:38 PM |
| updatedAt | May 31, 2021, 1:16 PM |
| githubUrl | https://github.com/neomjs/neo/issues/2216 |
| author | tobiu |
| commentsCount | 3 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | May 31, 2021, 1:16 PM |
Inspect the event flickering while infinite scrolling inside the calendar week view

tobiu
May 31, 2021, 12:46 PM
just tested it without specific event ids, still stays the same.

tobiu
May 31, 2021, 1:12 PM
the delta updates look fine as well: 28 deltas: 7 for adding new col headers, 7 for removing the old ones. 7 for adding new column bodies, 7 for removing the old ones.

tobiu
May 31, 2021, 1:15 PM
I think the main problem is, that we are rendering events and at the same point the column positions "jump" sidewards (infinite scrolling).
To resolve this, we can delay the event rendering into the next animation frame (a delay of 50ms is sufficient).
tobiu closed this issue on May 31, 2021, 1:16 PM
Video: https://youtu.be/ugL4zh55FFw
My guess is that this is related to re-using the same dom ids for calendar events. There could be browser caching in place, quickly moving previously used nodes from their last position to the new one.