For version 1.3.5 of bryntum_gantt_enterprise
On odoo enterprise v15.0 (enterprise, odoo sh)
The following error appears when opening the bryntum gantt view for any project.
TypeError: Cannot read properties of null (reading 'getComputedStyle')
at DomHelper.getStyleValue (webpack:///./node_modules/@bryntum/gantt/gantt.module.js?79)
at hasLayout (webpack:///./node_modules/@bryntum/gantt/gantt.module.js?108)
at ResizeObserver.onElementResize (webpack:///./node_modules/@bryntum/gantt/gantt.module.js?11)
After clicking "ok", it works normally.