I am using 8.7 on React and added disabledElements: ['header', 'toolsHeader']
to the constructor. The following errors are produced and the viewer fails to load:
react-dom.production.min.js:216 TypeError: Cannot read properties of null (reading ‘style’)
at y (DocumentCropPopupContainer.js:55:28)
at DocumentCropPopupContainer.js:66:7
at Ms (react-dom.production.min.js:262:359)
at t.unstable_runWithPriority (scheduler.production.min.js:18:343)
at Vo (react-dom.production.min.js:122:325)
at Ts (react-dom.production.min.js:261:308)
at ds (react-dom.production.min.js:243:50)
at react-dom.production.min.js:123:115
at t.unstable_runWithPriority (scheduler.production.min.js:18:343)
at Vo (react-dom.production.min.js:122:325)
il @ react-dom.production.min.js:216
n.callback @ react-dom.production.min.js:216
ci @ react-dom.production.min.js:131
dl @ react-dom.production.min.js:220
As @ react-dom.production.min.js:259
t.unstable_runWithPriority @ scheduler.production.min.js:18
Vo @ react-dom.production.min.js:122
Os @ react-dom.production.min.js:252
ds @ react-dom.production.min.js:243
(anonymous) @ react-dom.production.min.js:123
t.unstable_runWithPriority @ scheduler.production.min.js:18
Vo @ react-dom.production.min.js:122
Wo @ react-dom.production.min.js:123
Go @ react-dom.production.min.js:122
hs @ react-dom.production.min.js:244
Js @ react-dom.production.min.js:289
t.render @ react-dom.production.min.js:296
(anonymous) @ index.js:201
Promise.then (async)
(anonymous) @ index.js:184
o @ bootstrap:63
(anonymous) @ bootstrap:198
(anonymous) @ webviewer-ui.min.js:1
DocumentCropPopupContainer.js:55 Uncaught (in promise) TypeError: Cannot read properties of null (reading ‘style’)
at y (DocumentCropPopupContainer.js:55:28)
at DocumentCropPopupContainer.js:66:7
at Ms (react-dom.production.min.js:262:359)
at t.unstable_runWithPriority (scheduler.production.min.js:18:343)
at Vo (react-dom.production.min.js:122:325)
at Ts (react-dom.production.min.js:261:308)
at ds (react-dom.production.min.js:243:50)
at react-dom.production.min.js:123:115
at t.unstable_runWithPriority (scheduler.production.min.js:18:343)
at Vo (react-dom.production.min.js:122:325)