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
Event content flickers when dropping an event because eventContent
fires twice
#7165
Comments
eventContent
fires twice
Screen.Recording.2023-02-02.at.1.36.20.PM.movit happens on select mirror as well, not sure if it happens on editable only when you pass eventContent |
I’m getting similar issues, it always flickers when I use eventContent with JSX |
Somewhat related, I'm experiencing a similar flicker when updating |
Experiencing the same, and not only with |
This should be significantly improved in v6.1.7 The flicker during dragging/resizing/selecting should no longer exist. There still might be a slight flicker right at the end of the interaction, but it probably won't be very noticeable. This can only possibly be fixed in the next major version. Please let me know if things look better. Additionally, |
Thank you, much appreciated, great work! |
Did this get fixed for you guys? |
Yes, no problem anymore with the blinking issue when selecting on the calendar |
Reduced Test Case
https://codesandbox.io/s/busy-faraday-fnlbfr?file=/src/App.js
Do you understand that if a reduced test case is not provided, we will intentionally delay triaging of your ticket?
Which connector are you using (React/Angular/etc)?
React
Bug Description
The eventContent function is executed twice on dragging. The first execution is with the initial time and the second one is the current dragging time. This causes small but ugly ui flickering.
In the example, you can check the log in the console. If you drag or resize the event, you can see 2 lines of logging.
I started with an event at 3:00 and resize the start to 2:30, then to 2:00. The logging is the following:
render 3:00
render 2:30
render 3:00
render 2:30
render 3:00
render 2:00
render 3:00
render 2:00
In my opinion, the logging should be something like this:
render 3:00
render 3:00
render 2:30
render 2:30
render 2:00
render 2:00
Maybe only once, but this is not the problem of the flickering.
The text was updated successfully, but these errors were encountered: