After upgrading from 2019.2.3832 to 2019.4.4073
When a DayPilot Scheduler has no visible time cells either because days has been set to 0 or args.cell.visible has been set to false in onIncludeTimeCell. Calling getViewPort() results in a console error.
Uncaught TypeError: Cannot read property 'x' of null
at DayPilot.Scheduler.Si (daypilot-all.min.js:25)
at DayPilot.Scheduler.getViewPort (daypilot-all.min.js:25)
This is currently happening on our calendars where dynamic loading is enabled and only cells are shown where events are present. No cells are shown when the calendar first loads the dynamic events and when constructing the args object DayPilot calls getViewPort resulting in the above error.