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
With the dayGridMonth view, an event on the day before today does not have the .fc-event-past css class.
See the codepen reproduction, on "month" view. A css rule reduces opacity for fc-event-past and you can see "Yesterday event" does not have that class.
As a workaround, I thought of using .fc-day.past, but that won't work for cases like the event titled "Yesterday and today" because although it's within the td.fc-day-past it spans to today so it should NOT have .fc-event-past.
I noticed this in the listMonth and listWeek views as well. The timeGridWeek view seems to work as expected.
The text was updated successfully, but these errors were encountered:
acerix
changed the title
Missing .fc-event-past for yesterday's past events.
Missing .fc-event-past class on events ending yesterday
Jul 29, 2021
acerix
changed the title
Missing .fc-event-past class on events ending yesterday
Missing .fc-event-past and isPast is false on events ending yesterday
Jul 29, 2021
+1 this is still an issue.
Recently upgraded to v6.1.10 and decided to leverage the isPast boolean instead of calculating whether an event was in the past. Think I'll revert to previous calculations.
Did notice that the issue only occurs on the month view and list view, the week grid and day grid render correctly.
Reduced Test Case
Bug can be seen at https://codepen.io/r20-the-styleful/pen/RwVMgey
Bug Description
With the dayGridMonth view, an event on the day before today does not have the .fc-event-past css class.
See the codepen reproduction, on "month" view. A css rule reduces opacity for fc-event-past and you can see "Yesterday event" does not have that class.
As a workaround, I thought of using .fc-day.past, but that won't work for cases like the event titled "Yesterday and today" because although it's within the td.fc-day-past it spans to today so it should NOT have .fc-event-past.
I noticed this in the listMonth and listWeek views as well. The timeGridWeek view seems to work as expected.
The text was updated successfully, but these errors were encountered: