Hi,
I want to integrate the DayPilot Scheduler into a lit-element (https://lit-element.polymer-project.org/guide/start) so that I can use it as a web component. The initialization works fine and even the theme is loaded correctly, but as soon as I hover the scheduler the console spits out error-messages and the events can't be moved around.
(The line numbers are from Chromes formatted source file feature)
daypilot-all.min.js:formatted:34152 Uncaught TypeError: Cannot set property 'grid' of null
at DayPilot.Scheduler.Mm (daypilot-all.min.js:formatted:34152)
at HTMLDivElement.wc (daypilot-all.min.js:formatted:33096)
Mm @ daypilot-all.min.js:formatted:34152
wc @ daypilot-all.min.js:formatted:33096
I use DayPilot Pro for JavaScript 2020.1.4258 (trial). Attached is the class I wrote, based on the demo.
Thanks for your help!