SFCalendar problem with isAllDay appointments scroll
andersonribeir opened this issue · 1 comments
andersonribeir commented
I have an SfCalendar em flutter with several events marked as "isAllDay = true", however the display of the events below is not scrollable. Im using view.day .
my SfCalendar:
SfCalendar(
view: CalendarView.day,
backgroundColor: Colors.white12,
dataSource: EventoDataSource(_events),
timeZone: 'America/Sao_Paulo',
allowViewNavigation: true,
showDatePickerButton: false,
showNavigationArrow: true,
showCurrentTimeIndicator: true,
showTodayButton: false,
initialDisplayDate: initialDate,
headerHeight: 40,
allowAppointmentResize: true,
todayHighlightColor: GlobalColors.mainColor,
onViewChanged: (ViewChangedDetails details) {
if (details.visibleDates[0] != dataInicial) {
// Atualiza a data inicial
dataInicial = details.visibleDates[0];
print(dataInicial);
// Chama a função para carregar eventos
carregaEventos(dataInicial);
}
},
onTap: (CalendarTapDetails details) {
if (details.targetElement ==
CalendarElement.appointment) {
Appointment appointment = details.appointments?.first;
final evento = _events.firstWhere((e) {
return e.identificador == appointment.id.toString();
});
_showEventDetails(evento);
}
},
timeSlotViewSettings: const TimeSlotViewSettings(
timeTextStyle: TextStyle(
fontSize: 12,
color: Colors.black,
),
timeFormat: 'HH:mm',
timeIntervalWidth: 60,
startHour: 0,
endHour: 24,
),
)
LokeshPalani commented
Hi @andersonribeir,
We would like to let you know that currently we don’t have support for ‘To view more events in a day to see all the events vertically’. However, we have considered your requirement as a new feature and logged feature request for it in our feedback portal.
We will prioritize the features of every release based on demand and priority. So, this feature will be available in any of our upcoming releases. You can also track the status of the feature with the feedback below.
FR Link,
Regards,
Lokesh P.