refetchEvents triggers scroll reset in month view
See original GitHub issueUsing fullcalendar 5.10.1 I experienced an issue which sounds a lot like #3153 (which was fixed in 2.8.0), so this might be a regression.
Reduced Test Case
I adapted the old test case to the current version of fullcalendar: https://jsfiddle.net/q63vg8oa/
Bug Description
- steps to reproduce
- open the dayGridMonth View
- add several events to the same day (so that the row needs to expand)
- scroll down
- call
refetchEvents()
- expected result
- the scroll position remains the same
- what happens instead?
- scroll position is moved up
I guess this happens because the events are temporarily removed, so the row gets smaller and the scroll position needs to adjust. When the events are added again the row expands again, but the scroll position remains the same.
Issue Analytics
- State:
- Created 2 years ago
- Comments:8
Top Results From Across the Web
refetchEvents triggers scroll reset in month view #3153 - GitHub
Poking around some more -- it appears that the refetch is clearing all of the events inside the month view, which in turn...
Read more >Double entry on switching form day to week or month in ...
I have an issue when I try to scroll to other views on fullcalendar and trying switch form day to week or month...
Read more >Calendar::refetchEvents - Docs - FullCalendar
Refetches events from all sources and rerenders them on the screen.
Read more >fullcalendar.js_backup20160503_beforeTitleFix
Converts View-Option-Hashes into the View-Specific-Options format. function ... left/right/top/bottom scrollbar widths for the given jQuery element.
Read more >@fullcalendar/daygrid | Yarn - Package Manager
FullCalendar Day Grid Plugin. Display events on a month view or "day grid" view. Installation. Install the necessary packages: npm install @fullcalendar/ ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m also running into this issue. If it helps, it seems like it was introduced between v5.6.0 and v5.7.0, so I just pinned to v5.6
some update?