Release date: April 1, 2022
Features
-
React 18 support
-
Rendering React JSX components in Scheduler cells using onBeforeCellDomAdd event [see also a tutorial]
Improvements
-
[Scheduler]
Separator width respected during image export (Scheduler).
(build 5243)
-
"uk-ua" locale added
(build 5244)
-
[Scheduler]
DayPilot.Scheduler.onBeforeCellDomAdd, onBeforeCellDomRemove added to TypeScript definitions
(build 5261)
Fixes
-
[Scheduler]
Row header column title horizontal scrollbar position reset during update - fixed (Scheduler).
(build 5262)
-
[Calendar]
Progressive event rendering + all-day events error fixed (Calendar).
(build 5263)
API Changes
The React package now targets React 18.
This release still supports React 17 but you may see the following warning during compilation:
./node_modules/daypilot-pro-react/daypilot-react.min.js
Module not found: Can't resolve 'react-dom/client' in [...]
The warning is generated by Webpack (it can't handle an optional "react-dom/client" import without a warning).
You may see the warning during compilation and in the browser console (in development mode only). It doesn't affect functionality and you can safely ignore it.