reactdatagrid icon indicating copy to clipboard operation
reactdatagrid copied to clipboard

Uncaught TypeError: _this.rows is null

Open mirceamat opened this issue 2 years ago • 6 comments

"dependencies": { "@inovua/reactdatagrid-community": "^4.20.0", "@reduxjs/toolkit": "^1.8.3", "@testing-library/jest-dom": "^5.16.4", "@testing-library/react": "^13.3.0", "@testing-library/user-event": "^14.2.1", "@types/jest": "^28.1.3", "@types/node": "^18.0.0", "@types/react": "^18.0.10", "@types/react-dom": "^18.0.5", "antd": "^4.21.4", "date-fns": "^2.28.0", "react": "^18.2.0", "react-dom": "^18.2.0", "react-json-view": "^1.21.3", "react-redux": "^8.0.2", "react-scripts": "^5.0.1", "typescript": "^4.7.2", "web-vitals": "^2.1.4" },

"Uncaught TypeError: _this.rows is null InovuaVirtualList index.js:855 InovuaVirtualList index.js:868 UNSAFE_componentWillReceiveProps index.js:1548"

"The above error occurred in the <InovuaVirtualList> component: InovuaVirtualList@http://localhost:3000/static/js/bundle.js:64388:34 InovuaDataGridList@http://localhost:3000/static/js/bundle.js:12699:34 FakeFlex@http://localhost:3000/static/js/bundle.js:8766:34"

For the basic example i get the above error "Uncaught TypeError: _this.rows is null"

mirceamat avatar Jun 30 '22 09:06 mirceamat

@mirceamat, we are currently working with high priority to provide support on react 18.

inovua-admin avatar Jun 30 '22 09:06 inovua-admin

I am currently facing the same issue. Is the support for 18 now in place?

nhope123 avatar Jul 11 '22 19:07 nhope123

Any ETA guys?

levz0r avatar Jul 17 '22 21:07 levz0r

Shall I be dammed 😢 I'm trying to use this one with next and got a hydration issue which their documentation helped but I got the

Cannot read properties of null (reading 'length')

when copying the example one to one. Now, I can see there's an issue with react 18. I think until you'll fix the issue you need to throw an error about an un-supported react version.

RoySegall avatar Jul 18 '22 03:07 RoySegall

Any news on this issue?

raduconst06 avatar Jul 26 '22 17:07 raduconst06

I'm also seeing this using the example from the readme.

Edit: This does look like it's fixed in canary.0 👍 👍

drewwyatt avatar Aug 15 '22 02:08 drewwyatt

Any updates on this issue?

raduconst06 avatar Sep 29 '22 19:09 raduconst06

Fixed in version 5.0.0.

inovua-admin avatar Sep 30 '22 09:09 inovua-admin