Hello.
In my application, I'm using the SFCalendar to show multiple users appointments side by side with a shared controller so they all see the same dates.
At the moment each calendar scrolls up and down independently.
I would like to only show one scrollbar to the right of the calendars and have them scroll in sync.
Is there any way I can disable the scrolling behaviour of the calendar, so I can wrap the column in which I'm showing the multiple calendars in a SingleChildScrollView an have them scroll in sync?
You're doing a great job with these products. Thank you.
Kind regards,
Cris
Hi. Thank you for looking into this for me.
The KB you've pointed out is not what I'm looking for.
I'm looking to show the calendars side by side and get them to scroll in sync.
I'm attaching a screenshot that shows what I mean. As you can see there, the scrollbars are on different positions.
I appreciate your time,
Cris
All you need to do is surface the scroll physics on the SingleChildScrollView, so I can set it to no scroll.
I just need a way to make the calendar not scroll so I can wrap the calendar in a SingleChildScrollView myself.
Can you put that as a request?
Kind regards,
Cris
Thanks for looking at a solution for me.
Kind regards,
Cris
Sorry for my insert question.
We have prepared the simple sample for scrolling synchronously with multiple calendars using SingleChildScrollView widget. Please find the sample from the following link.
- If I use view: CalendarView.schedule, I can't scroll vertical due to effert from scroll behavior from schedule mode
- If I want I set the height of SfCalendar (view is schedule mode), I can continue scroll once scroll-view-in-schedule is end ?
Thanks,
Micky
Micky,
As per the current implementation of the Flutter Calendar doesn’t have support for scrolling the “ScheduleView” synchronously with multiple calendars and it is an expected behavior of the calendar. Please let us know if you have any concerns about this. We will be glad to assist you.