-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Description
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={() => () as any}
renderDay={date => (
)}
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}
/>
);
};
...
`