You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What do you think about adding an event to trigger calendar.updateSize(), similar to what is done for calendar.refetchEvents?
I'm using this plugin in an application and I have a collapsible sidebar, every time the sidebar is opened/closed, the calendar container changes but the calendar doesn't resize. Reading the docs, I found this could be solved with calendar.updateSize(), but I didn't find a way to call that function except for something similar to what is done with refetch events: window.addEventListener('filament-fullcalendar--refresh', () => calendar.refetchEvents()).
Could it be possible to add this? Or someone with a different idea to solve the issue i'm having?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
What do you think about adding an event to trigger
calendar.updateSize()
, similar to what is done forcalendar.refetchEvents
?I'm using this plugin in an application and I have a collapsible sidebar, every time the sidebar is opened/closed, the calendar container changes but the calendar doesn't resize. Reading the docs, I found this could be solved with
calendar.updateSize()
, but I didn't find a way to call that function except for something similar to what is done with refetch events:window.addEventListener('filament-fullcalendar--refresh', () => calendar.refetchEvents())
.Could it be possible to add this? Or someone with a different idea to solve the issue i'm having?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions