I looked at the example and modified my code to look like below. It is calculating the new events and resources and then just setting the inlineData. But as soon as I do that, I get the error. It will take me some time to create a separate project with the sample data - but the below code is what I am doing pretty much. My event is based on a custom EventModel as I had to add a few custom properties.
Yes I changed the code but the problem is still there. Is there a ResizeObserver in the code somewhere? If you can tell me, where it is, it might point me in the right direction as to what might be happening? Like I said before, I have an event search which is outside of the main scheduler. And when I search, I set the inlineData.events again, and that is 10k+ events sometimes. It seems to work the first time when the scheduler loads. The problem is only when I reset the inlineData.
It's not the events I am filtering....it's actually the resources I am filtering. So, e.g. at first, I have 200 resources with 50-70 events each and then after a search, I might have 50 resources left. The search is done on a local IndexedDb database and search is performed on several fields which are not part of the ResourceModel or EventModel. Any suggestions ?