Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fc-event-past class to day grid view #6120

Closed
Chloey61 opened this issue Jan 28, 2021 · 3 comments
Closed

Add fc-event-past class to day grid view #6120

Chloey61 opened this issue Jan 28, 2021 · 3 comments
Labels
DayGrid View Discussing View API Custom views, view-specific options, view triggers
Milestone

Comments

@Chloey61
Copy link

Chloey61 commented Jan 28, 2021

Reduced Test Case

You must paste a link to a REDUCED TEST CASE.
If you do not, this issue will automatically be closed.
To prevent this, include the text "not reproducible with a link" (assuming it's true).

Bug Description

Month view, wrong class name of the day before today;
don't have '.fc-event-past'!

Screenshots

cca0f0703fcc89ab95c0c3c8821b8af

<td class="fc-daygrid-day fc-day fc-day-wed fc-day-past" data-date="2021-01-27"><div class="fc-daygrid-day-frame fc-scrollgrid-sync-inner"><div class="fc-daygrid-day-top"><a class="fc-daygrid-day-number">27日</a></div><div class="fc-daygrid-day-events" style=""><div class="fc-daygrid-event-harness"><a class="fc-daygrid-event fc-daygrid-block-event fc-h-event fc-event fc-event-draggable fc-event-resizable fc-event-start fc-event-end" style="border-color: rgb(228, 231, 237);"><div class="fc-event-main"><span><b></b><i>111</i></span></div><div class="fc-event-resizer fc-event-resizer-end"></div></a></div><div class="fc-daygrid-day-bottom"><a class="fc-daygrid-more-link">+1 more</a></div></div><div class="fc-daygrid-day-bg"></div></div></td>

@acerix
Copy link
Member

acerix commented Feb 4, 2021

Would you be able to post a runnable, stripped-down demonstration of the bug? Would really appreciate it because the time saved reproducing will be time spent fixing.

@acerix acerix closed this as completed Feb 4, 2021
@camsteffen
Copy link

@acerix Ran into this today. Here is a reproduction: https://codesandbox.io/s/list-past-yesterday-bug-fh21p8

@acerix acerix changed the title Month view, wrong class name of the day before today Add fc-event-past class to day grid view Nov 15, 2022
@acerix acerix added Discussing DayGrid View View API Custom views, view-specific options, view triggers labels Nov 15, 2022
@acerix acerix reopened this Nov 15, 2022
@arshaw arshaw modified the milestones: next-release, next-release-temp Feb 6, 2024
@arshaw
Copy link
Member

arshaw commented Feb 20, 2024

Fixed in v6.1.11

@arshaw arshaw closed this as completed Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DayGrid View Discussing View API Custom views, view-specific options, view triggers
Projects
None yet
Development

No branches or pull requests

4 participants