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

resourceAreaWidth is not updated when changed with setOption #5368

Closed
SvenEV opened this issue Apr 23, 2020 · 2 comments
Closed

resourceAreaWidth is not updated when changed with setOption #5368

SvenEV opened this issue Apr 23, 2020 · 2 comments

Comments

@SvenEV
Copy link

SvenEV commented Apr 23, 2020

In FullCalendar Scheduler v4, I have been using calendar.setOption to set the option "resourceAreaWidth" programmatically. In v5, this seems to no longer work. I couldn't find anything about this particular option in the changelog, so I assume this to be a bug.

It's easily reproducable (click anywhere to set the resourceAreaWidth):

@acerix acerix changed the title v5 Beta 2: setOption('resourceAreaWidth') not working resourceAreaWidth is not updated when changed with setOption Apr 23, 2020
@acerix
Copy link
Member

acerix commented Apr 23, 2020

Thanks, confimed. As a workaround, it works after forcing the view to change:

https://codepen.io/acerix/pen/ExVZrrB?editors=0010

@arshaw
Copy link
Member

arshaw commented May 20, 2020

fixed in beta3. more info on the release: https://fullcalendar.io/blog/2020/05/react-ts-v5-beta

proof: https://codepen.io/arshaw/pen/wvKRyWy?editors=0010

@arshaw arshaw closed this as completed May 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants