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

Infinite eventContent loop with dayMaxEvents and with white-space: normal in event content making it display on to multiple lines #7447

Closed
1 task done
acerix opened this issue Sep 5, 2023 · 2 comments

Comments

@acerix
Copy link
Member

acerix commented Sep 5, 2023

Reduced Test Case

https://codepen.io/acerix/pen/bGOBrKr?editors=001

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)?

No connector (vanilla JS)

Bug Description

Test test case will loop forever and freeze the browser if exit() is removed.

Reported in https://fullcalendar.freshdesk.com/a/tickets/7073

@acerix acerix changed the title Infinite eventContent loop with dayMaxEvents and with white-space: normal in event content that makes the content to multiple lines Infinite eventContent loop with dayMaxEvents and with white-space: normal in event content making it display on to multiple lines Sep 6, 2023
@arshaw arshaw added this to the next-release milestone Sep 6, 2023
@arshaw
Copy link
Member

arshaw commented Sep 11, 2023

Things are infinitely looping because the event positioning is oscillating between two different algorithms. A workaround to prevent this is to set eventOrderStrict: true (updated repro). This might narrowly fix your specific case, so a proper fix is still needed. I'm still working on it.

@arshaw
Copy link
Member

arshaw commented Sep 21, 2023

This is properly fixed in v6.1.9

Updated repro:
https://codepen.io/arshaw/pen/QWzaomE?editors=001

@arshaw arshaw closed this as completed Sep 21, 2023
@arshaw arshaw modified the milestones: next-release, v6.1.9 Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

2 participants