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

Dynamic data source causes monthly view display error #7232

Closed
1 task done
jianhao2010303 opened this issue Mar 6, 2023 · 5 comments
Closed
1 task done

Dynamic data source causes monthly view display error #7232

jianhao2010303 opened this issue Mar 6, 2023 · 5 comments

Comments

@jianhao2010303
Copy link

Reduced Test Case

none

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

Step 1:
const [events, setEvents] = useState<any[]>([])

Setp 2:
Switch the month to November 2022, call back function : setEvent([]) some daily cycle data.

Setp3:

You will find that the monthly view data will flash and disappear, but when you switch to the list view, it will be displayed again.

This is to switch to the monthly view and display the data.

@jianhao2010303
Copy link
Author

ca85b715-bb35-4e48-9051-32327da87d98
6cda10bf-f666-46cb-a61b-74342c51d06c

@scriptify
Copy link

+1
Similar stuff happens with timeGridWeek.
The problem seems to be caused by changing the reference of the events array. Try setting a static array and see if the error persists.
I wasn't able to find a solution yet.

@jianhao2010303
Copy link
Author

static array normal phenomenon.

@scriptify
Copy link

May be related to: #7235

@acerix
Copy link
Member

acerix commented Mar 8, 2023

Yes, I believe this existing ticket captures this need:
#7230

Please visit the above issue, give a 👍 to vote (?), press the 🔈Subscribe button to receive updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants