tui.calendar
tui.calendar copied to clipboard
Keep scroll position after re-rendering(milestone, task, allday view and month more layer)
Version
v0.6.3
Development Environment
Mac Chrome
Current Behavior
The scroll position within Milestone, Task, All day view and month more layer is reset after re-rendering the Calendar.
Expected Behavior
Keep the scroll position after re-rendering the Calendar.
It'll be resolved by using snabbdom. Be patient.
Hi @dongsik-yoo,
are there any updates on this? It would be great to have more manual control on the scrolling.
Thanks, Yakov
@YashkaSurin I'm sorry. I don't have any progress after at that time. I used virtual-dom with snabbdom to solve it, but snabbdom seems to be not managed at this time.
@dongsik-yoo Thank you for the quick answer! Is it possible to disable auto scrolling completely?
@YashkaSurin I think it's possible to adjust the scroll position after re-rendering it with saving the scroll position.
Hi, I am currently having this issue as well, each time I schedule a new event, my screen scrolls away from the event and I need to scroll back to it.
Has anyone find a way yet to disable this yet?
Hi, I faced the same problem. how to prevent auto scroll?
Hi, I faced the same problem. how to prevent auto scroll?
I solve this problem. I develop in React, and I use react tui calendar. I use useMemoHook to prevent auto scroll(re-rendering) and I change props by using ref
can someone provide an example of how they solved this?