-
Notifications
You must be signed in to change notification settings - Fork 233
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
refetchResources does not update columns properly in vertical resource view #100
Comments
Ah yes, I was able to reproduce this while making the most recent release. I made acceptance tests here: https://github.com/fullcalendar/fullcalendar-scheduler/blob/v1.2.0/tests/column-rerendering.coffee#L20-L33 will get this fixed |
I experience this error too in more or less same scenario. Any idea when this will be fixed? |
will be fixed in the next release. my goal is to have it released by monday |
updated jsbin to newest version, fixed the problem: http://jsbin.com/cavoxojiwe/1/edit?js,output |
fix just released in v1.2.1 |
Awesome - thanks! |
It doesn't appear this was resolved by commit 7896125, although I'm sure it's related.
Demo: http://jsbin.com/natuxu/edit?js,output
In this demo, to simulate new resources every time the "refetchResources" button is clicked, the resources are now generated by a function that randomly selects one of 7 resources, and then removes it, only showing 6 resources.
The visible resources are updated every time the "refetchResources" button is clicked. You'll see this works fine in timeline view, but in vertical resource view, the correct columns are always "behind" where they should be, even if the correct events are being displayed. I've also named the events according to the resource they belong to, to make it easier to spot the issue (e.g. event A is in Auditorium A).
The text was updated successfully, but these errors were encountered: