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

Events lose vertical offset and overlap after navigating to another date with JSX eventContent #7574

Closed
1 task done
zhangjett opened this issue Jan 16, 2024 · 2 comments
Closed
1 task done

Comments

@zhangjett
Copy link

Reduced Test Case

https://stackblitz.com/edit/stackblitz-starters-gzvquz?file=app%2Fpage.tsx

Do you understand that if a reduced test case is not provided, we will intentionally delay triaging of your ticket?

  • I understand

Which connector are you using (React/Angular/etc)?

React

Bug Description

Screenity.video.-.Jan.16.2024.mp4

1705390690254

1705390816921

Use the React connector,set eventContent with React JSX nodes.
When change view, .fc-timeline-event-harness top style is error.

@acerix
Copy link
Member

acerix commented Feb 5, 2024

Thanks, confirmed.

As a workaround, you could force a resize after the date is changed which seems to fix the event positions:

https://stackblitz.com/edit/stackblitz-starters-2t4ktb?file=app%2Fpage.tsx

@acerix acerix changed the title set eventContent with React JSX,style error Events lose vertical offset and overlap after navigating to another date with JSX eventContent Feb 5, 2024
@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

@fullcalendar/react was getting tripped up on React strict-mode.

Updated repro:
https://stackblitz.com/edit/stackblitz-starters-fmnrar?file=package.json,package-lock.json

@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
Projects
None yet
Development

No branches or pull requests

3 participants