The watchWidthChanges property (boolean) enables automatic detection of dimension changes in the JavaScript Calendar, resulting from DOM changes and window size updates. If a change is detected, the calendar UI is updated accordingly.
Turning off the detection may result in smoother animations of dimension changes, but it will then be necessary to manually fix the UI by calling show() once the animation is complete.
true
{
watchWidthChanges: false,
// ...
}