You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
I was testing the new version of the library and attempted to use the All Day Events feature. However, the events do not display as expected.
Steps to Reproduce
Use the following JSX to configure the CalendarContainer component:
Additional Information
useAllDayEvent is enabled as per the props.
The all-day event data is logged correctly (as shown in the log output), but it does not appear on the screen.
Could you help identify if this is a bug or if I'm missing a configuration?
The text was updated successfully, but these errors were encountered:
Description
I was testing the new version of the library and attempted to use the All Day Events feature. However, the events do not display as expected.
Steps to Reproduce
Use the following JSX to configure the CalendarContainer component:
`<View style={{ flex: 1, gap: 16 }}>
<CalendarContainer
numberOfDays={7}
hideWeekDays={omittedDays.map((day) => (day === 0 ? 7 : day))}
firstDay={7}
allowPinchToZoom
start={timeToMinutes(start || '0000')}
end={timeToMinutes(end || '2359')}
timeInterval={interval}
initialLocales={initialLocale}
locale="pt_br"
overlapType="overlap"
onRefresh={() => refetchDayEvents()}
scrollToNow
useHaptic
allowDragToEdit
allowDragToCreate
useAllDayEvent
rightEdgeSpacing={4}
overlapEventsSpacing={1}
onPressEvent={(event) => {
console.log('event', event);
}}
onPressBackground={(event) => {
console.log('event', event);
}}
events={dayEvents?.eventos.map((event) => {
const cardColor = getCardColorSchedule(event);
Pass a list of events, including at least one with dia_todo set to true.
Observe the rendered calendar.
Expected Behavior
The all-day events should display correctly at the top of the calendar or in their designated area.
Actual Behavior
All-day events are not rendered as expected. See screenshots below for details:
On Screen:
![image](https://private-user-images.githubusercontent.com/66829760/399953665-dd2f44a6-7a4f-4e5b-bb3a-4cae23175c9f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4MzQxOTMsIm5iZiI6MTczODgzMzg5MywicGF0aCI6Ii82NjgyOTc2MC8zOTk5NTM2NjUtZGQyZjQ0YTYtN2E0Zi00ZTViLWJiM2EtNGNhZTIzMTc1YzlmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA2VDA5MjQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM2M2M4ODEzZjE2NDA4NDg3ZTdhNjk0MGQ1YjcwMzM0MTcxMjA4OTA4MzAxY2QwODczYTQwZjdkMWJmNTMxZDEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.TV745_JK9M7yy4jjI9EH4moy5mwZ1mgncKWO7OCIyQE)
Log Output:
![image](https://private-user-images.githubusercontent.com/66829760/399953673-60c8b571-2c93-499a-8bef-1f3e46a1d1f8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4MzQxOTMsIm5iZiI6MTczODgzMzg5MywicGF0aCI6Ii82NjgyOTc2MC8zOTk5NTM2NzMtNjBjOGI1NzEtMmM5My00OTlhLThiZWYtMWYzZTQ2YTFkMWY4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA2VDA5MjQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTUyY2Q1YmI3ZTI3YThkYjY3OGZlODliM2M3YjRhYTA4YzFlOTY1N2E2ZGM2MzI5ZTg0OWI0Zjg4ZjMyNTZlMTImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.aOeK_mvaDB3h8gli_r8PG4E2bToJYLS1c9nLeQzbkqw)
Relevant Dependencies
"expo": "~51.0.17",
"react-native": "0.74.3",
"react-native-gesture-handler": "~2.16.1",
"react-native-reanimated": "~3.10.1"
Additional Information
useAllDayEvent is enabled as per the props.
The all-day event data is logged correctly (as shown in the log output), but it does not appear on the screen.
Could you help identify if this is a bug or if I'm missing a configuration?
The text was updated successfully, but these errors were encountered: