react-data-grid
react-data-grid copied to clipboard
Exception is thrown for old versions of Chrome
Describe the bug
When I open react data grid in Chrome 81.0.4044.133 exception is thrown:
Uncaught TypeError: Cannot read property '0' of undefined
To Reproduce
- Open main page in Chrome version less than 84
- Look at console
Expected behavior
There should not be the exception.
Environment
react-data-gridversion: 7.0.0-beta.15react/react-domversion: 18.2.0
Additional context
This exception is thrown by contentBoxSize property usage in useGridDimensions.ts.
This property is not available in Chrome versions less than 84.
I have thought that it is a security risk to use old versions of browsers? Why would it be important to support chrome versions other than latest? edit: To be exact with latest I mean the long term support versions.
RDG only supports evergreen browsers so closing this issue.