Encountering a TypeError: Cannot read properties of null (reading 'getBoundingClientRect') in ResponsiveContainer.js when loading PDFs in a React 

Hello Jagathiswaran,

Thank you for contacting WebViewer Forums.

The getBoundingClientRect error seems to appear when there are no toolgroups in the header. By adding elements back into the header from your readMode array, the issue is no longer there. Please let me know if this works for you.

Regards,
Luke

1 Like