# updateSize

> FullCalendar v5 documentation, for an old release. Web version: https://legacy.fullcalendar.io/v5/updateSize
>
> Upgrading to v7: https://fullcalendar.io/docs/upgrading-from-v6.md

Immediately forces the calendar to readjusts its size.

<div class='spec' markdown='1'>
calendar.updateSize()
</div>

This is useful in a scenario where the calendar lives inside of an element, and that element's width has been dynamically changed. Call `updateSize` to help the calendar compensate. This method is also useful if you have [handleWindowResize](https://legacy.fullcalendar.io/v5/handleWindowResize.md) turned off.
