[Bug Report][3.8.3] `#day-event` slot in `v-calendar` does not work in Vuetify 3.8.3
Environment
Vuetify Version: 3.8.3 Last working version: 3.8.2 Vue Version: 3.5.12 Browsers: Chrome 135.0.0.0 OS: Linux
Steps to reproduce
- Use Vuetify 3.8.3
- Import and render
<v-calendar>withview-mode="month"and valid:eventsprops - Provide a
<template #day-event="{ day, event }">slot - Observe that the slot content is not rendered
This slot worked correctly in Vuetify 3.8.2 using #event. After the slot name change to #day-event, it no longer works in 3.8.3.
Expected Behavior
- The slot
#day-eventshould render the event data within the calendar month view. - The slot should display the
event.titlecorrectly when events are provided to the<v-calendar>component.
Actual Behavior
- The
#day-eventslot does not render anything when the component is rendered. - The event data is not displayed as expected.
- This issue only occurs in Vuetify 3.8.3 and later versions, after the change from
#eventto#day-event.
Reproduction Link
This is linked to this: https://github.com/vuetifyjs/vuetify/issues/19020#event-17340862999
Now, the event slot is not in month view mode, day, or week. We'll stick to the previous patch, but it seems that there's a drastic shift in VCalendar. Again, understandable since it is in Labs, but please be consistent with your choices.
How to add tooltip for each events? with latest vuetify version v-calendar?
slot - event is not working for vuetify versions from 3.8.3 to latest. But it works for 3.8.2. Guys can you help to sort it?
https://github.com/vuetifyjs/vuetify/blob/master/packages/vuetify/src/labs/VCalendar/VCalendarMonthDay.tsx
Someone with access needs to update the .dayEvent to ['day-event']
any update?
Just did a package update this morning and ran into this regression during testing. I would like an update on this because we very much like using the calendar component.
If it doesn't work, we will need to revert to 3.8.2 until then.
Just did a package update this morning and ran into this regression during testing. I would like an update on this because we very much like using the calendar component.
If it doesn't work, we will need to revert to 3.8.2 until then.
To my understanding there is no priority on this one. I've been waiting for months.
Just did a package update this morning and ran into this regression during testing. I would like an update on this because we very much like using the calendar component.
If it doesn't work, we will need to revert to 3.8.2 until then.
====> Yes, till 3.8.2 event slot was working. Calendar is a major component and widely used. I wonder why these guys aren't concerned.
Just did a package update this morning and ran into this regression during testing. I would like an update on this because we very much like using the calendar component. If it doesn't work, we will need to revert to 3.8.2 until then.
====> Yes, till 3.8.2 event slot was working. Calendar is a major component and widely used. I wonder why these guys aren't concerned.
Previously someone laid another concept for calendar, and left. Now they will redo what was in vuetify2, @johnleider am I right? Since we have projects waiting for this and would be nice to know where it is headed.
Just did a package update this morning and ran into this regression during testing. I would like an update on this because we very much like using the calendar component. If it doesn't work, we will need to revert to 3.8.2 until then.
====> Yes, till 3.8.2 event slot was working. Calendar is a major component and widely used. I wonder why these guys aren't concerned.
Previously someone laid another concept for calendar, and left. Now they will redo what was in vuetify2, @johnleider am I right? Since we have projects waiting for this and would be nice to know where it is headed.
- The guy who wrote calendar for Vuetify 1/2 didn't want to rewrite it for 3
- There have been a few people to take Calendar under their wings but unfortunately it's been rocky
- I cannot confidently tell you where this component is heading at the moment
Still seeing this in 3.10.5. Any workarounds?
Works fine here. What else do you need?
Thanks for the demo @J-Sek ! It helped me realize the problem was on my end. I was importing events from Google Calendar, and for all day events, for example a 1-day event, the end date is the next day (presumably midnight). So I needed to subtract a day from the data coming in.