Agenda stuck in month view - Android - Production build
react-native: 0.78.0 react-native-calendars: 1.1312.0 (Also tried with patch mentioned in #2610 )
Only happens on Android (version 14, can't reproduce it in Android 16) Only happens in release mode, I can't reproduce it in debug mode.
After clicking around for a while it might open the list view, sometimes it doesnt.
` ...
import {Agenda} from "react-native-calendars"; import { AgendaEntry, AgendaSchedule, DateData, Theme, } from "react-native-calendars/src/types";
...
export const ListScreen: FC = () => { return ( <View style={[styles.container, styles.withDivider]}> <Agenda items={sortedItems} renderEmptyDate={() => (<EmptyListItem />) as any} renderDay={date => ( <Day date={date} onPress={onCreateNewAppointment} /> )} renderItem={renderItem} refreshing={refreshing} minDate={MIN_DATE} maxDate={MAX_DATE} onDayPress={onDayPressCallback} onDayChange={onDayChangeCallback} onRefresh={onRefreshCallback} loadItemsForMonth={loadItemsForMonthCallback} pagingEnabled={true} theme={THEME} reservationsKeyExtractor={({reservation}, index) => reservation?.name || index.toString() } ref={agendaRef} /> </View> </View> ); };
... `
https://github.com/user-attachments/assets/e073c18d-1151-4e14-85bf-5bb5439e94d5
same issue for me in production. android 15
I am facing the same issue
I have the same problem. Any new on a possible fix?
Hello,
I am facing the same issue. As @Lewitje already mentioned, this issue appears only in release mode.
Does this fix in https://github.com/wix/react-native-calendars/pull/2640 help?