Skip to content

Assistant/DataGrid height error when opening settings #1148

Description

@rosannamilner

Describe the bug
Errors relating to the DataGrid used in Extracted URLs section appear in the console when opening the settings panel after the results have loaded. Everything seems to work however.

To Reproduce
Steps to reproduce the behaviour:

  1. Submitted URL to Assistant
  2. Wait for Extracted URLs results to appear
  3. Open settings panel in top right
  4. See errors in console

Expected behaviour
Everything should work as expected and no error should appear in the console

Error in console

chunk-3X3ORFZ4.js?v=d3538d4e:14504 MUI X: useResizeContainer - The parent DOM element of the Data Grid has an empty height.
Please make sure that this element has an intrinsic height.
The grid displays with a height of 0px.

More details: https://mui.com/r/x-data-grid-no-dimensions.
loggerObj.<computed> @ chunk-3X3ORFZ4.js?v=d3538d4e:14504
(anonymous) @ chunk-3X3ORFZ4.js?v=d3538d4e:20156
enhancedHandler @ chunk-3X3ORFZ4.js?v=d3538d4e:1322
emit @ chunk-3X3ORFZ4.js?v=d3538d4e:14050
(anonymous) @ chunk-3X3ORFZ4.js?v=d3538d4e:14178
(anonymous) @ chunk-3X3ORFZ4.js?v=d3538d4e:6145Understand this error
chunk-HBNXV3C2.js?v=d3538d4e:521 Warning: Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.
    at GridVirtualScrollbar2 (http://localhost:3000/node_modules/.vite/deps/chunk-3X3ORFZ4.js?v=d3538d4e:7561:18)
    at div
    at http://localhost:3000/node_modules/.vite/deps/chunk-UTR5326D.js?v=d3538d4e:64:45
    at http://localhost:3000/node_modules/.vite/deps/chunk-3X3ORFZ4.js?v=d3538d4e:7379:5
    at GridVirtualScroller (http://localhost:3000/node_modules/.vite/deps/chunk-3X3ORFZ4.js?v=d3538d4e:7689:18)
    at div
    at http://localhost:3000/node_modules/.vite/deps/chunk-UTR5326D.js?v=d3538d4e:64:45
    at GridRoot2 (http://localhost:3000/node_modules/.vite/deps/chunk-3X3ORFZ4.js?v=d3538d4e:9366:21)
    at GridContextProvider (http://localhost:3000/node_modules/.vite/deps/@mui_x-data-grid.js?v=d3538d4e:483:3)
    at DataGrid (http://localhost:3000/node_modules/.vite/deps/@mui_x-data-grid.js?v=d3538d4e:607:17)
    at div
    at http://localhost:3000/node_modules/.vite/deps/chunk-UTR5326D.js?v=d3538d4e:64:45
    at Box3 (http://localhost:3000/node_modules/.vite/deps/chunk-FBPRHMDE.js?v=d3538d4e:2528:19)
    at div
    at http://localhost:3000/node_modules/.vite/deps/chunk-UTR5326D.js?v=d3538d4e:64:45
    at CardContent2 (http://localhost:3000/node_modules/.vite/deps/chunk-SWSQJ4PM.js?v=d3538d4e:60:17)
    at div
    at http://localhost:3000/node_modules/.vite/deps/chunk-UTR5326D.js?v=d3538d4e:64:45
    at Paper2 (http://localhost:3000/node_modules/.vite/deps/chunk-Q6EGKKWX.js?v=d3538d4e:107:17)
    at http://localhost:3000/node_modules/.vite/deps/chunk-UTR5326D.js?v=d3538d4e:64:45
    at Card2 (http://localhost:3000/node_modules/.vite/deps/chunk-GH22W7ML.js?v=d3538d4e:63:17)
    at AssistantLinkResult (http://localhost:3000/src/components/NavItems/Assistant/AssistantScrapeResults/AssistantLinkResult.jsx:258:19)
    at div
    at http://localhost:3000/node_modules/.vite/deps/chunk-UTR5326D.js?v=d3538d4e:64:45
    at Grid3 (http://localhost:3000/node_modules/.vite/deps/chunk-FBPRHMDE.js?v=d3538d4e:4892:19)
    at div
    at http://localhost:3000/node_modules/.vite/deps/chunk-UTR5326D.js?v=d3538d4e:64:45
    at Grid3 (http://localhost:3000/node_modules/.vite/deps/chunk-FBPRHMDE.js?v=d3538d4e:4892:19)
    at div
    at http://localhost:3000/node_modules/.vite/deps/chunk-UTR5326D.js?v=d3538d4e:64:45
    at CardContent2 (http://localhost:3000/node_modules/.vite/deps/chunk-SWSQJ4PM.js?v=d3538d4e:60:17)
    at div
    at http://localhost:3000/node_modules/.vite/deps/chunk-UTR5326D.js?v=d3538d4e:64:45
    at Paper2 (http://localhost:3000/node_modules/.vite/deps/chunk-Q6EGKKWX.js?v=d3538d4e:107:17)
    at http://localhost:3000/node_modules/.vite/deps/chunk-UTR5326D.js?v=d3538d4e:64:45
    at Card2 (http://localhost:3000/node_modules/.vite/deps/chunk-GH22W7ML.js?v=d3538d4e:63:17)
    at div
    at Assistant (http://localhost:3000/src/components/NavItems/Assistant/Assistant.jsx:57:19)
    at div
    at http://localhost:3000/node_modules/.vite/deps/chunk-UTR5326D.js?v=d3538d4e:64:45
    at Box3 (http://localhost:3000/node_modules/.vite/deps/chunk-FBPRHMDE.js?v=d3538d4e:2528:19)
    at div
    at http://localhost:3000/node_modules/.vite/deps/chunk-UTR5326D.js?v=d3538d4e:64:45
    at Box3 (http://localhost:3000/node_modules/.vite/deps/chunk-FBPRHMDE.js?v=d3538d4e:2528:19)
    at Transition2 (http://localhost:3000/node_modules/.vite/deps/chunk-DZT3HCYO.js?v=d3538d4e:81:30)
    at Fade2 (http://localhost:3000/node_modules/.vite/deps/chunk-SJFWHDNS.js?v=d3538d4e:46:17)
    at div
    at http://localhost:3000/node_modules/.vite/deps/chunk-UTR5326D.js?v=d3538d4e:64:45
    at Container3 (http://localhost:3000/node_modules/.vite/deps/chunk-FBPRHMDE.js?v=d3538d4e:4454:19)
    at ContentContainer (http://localhost:3000/src/components/Navigation/TopNavigationRouter.jsx:132:29)
    at RenderedRoute (http://localhost:3000/node_modules/.vite/deps/react-router-dom.js?v=d3538d4e:4130:5)
    at RenderedRoute (http://localhost:3000/node_modules/.vite/deps/react-router-dom.js?v=d3538d4e:4130:5)
    at Routes (http://localhost:3000/node_modules/.vite/deps/react-router-dom.js?v=d3538d4e:4600:5)
    at TabContent (http://localhost:3000/src/components/Navigation/TopNavigationRouter.jsx:55:23)
    at RenderedRoute (http://localhost:3000/node_modules/.vite/deps/react-router-dom.js?v=d3538d4e:4130:5)
    at Routes (http://localhost:3000/node_modules/.vite/deps/react-router-dom.js?v=d3538d4e:4600:5)
    at TopNavigationRouter (http://localhost:3000/src/components/Navigation/TopNavigationRouter.jsx:14:32)
    at main
    at AppContent (http://localhost:3000/src/components/Layout/AppContent.jsx:19:23)
    at div
    at http://localhost:3000/node_modules/.vite/deps/chunk-UTR5326D.js?v=d3538d4e:64:45
    at Box3 (http://localhost:3000/node_modules/.vite/deps/chunk-FBPRHMDE.js?v=d3538d4e:2528:19)
    at AppLayout (http://localhost:3000/src/components/Layout/AppLayout.jsx:13:37)
    at RenderedRoute (http://localhost:3000/node_modules/.vite/deps/react-router-dom.js?v=d3538d4e:4130:5)
    at Routes (http://localhost:3000/node_modules/.vite/deps/react-router-dom.js?v=d3538d4e:4600:5)
    at Router (http://localhost:3000/node_modules/.vite/deps/react-router-dom.js?v=d3538d4e:4543:15)
    at HashRouter (http://localhost:3000/node_modules/.vite/deps/react-router-dom.js?v=d3538d4e:5325:5)
    at App (http://localhost:3000/src/content/views/App.jsx:16:19)
    at AssistantSelectionProvider (http://localhost:3000/src/Hooks/useUrlOrFile.jsx:16:46)
    at QueryClientProvider (http://localhost:3000/node_modules/.vite/deps/chunk-7BOFTYZT.js?v=d3538d4e:3028:3)
    at DefaultPropsProvider (http://localhost:3000/node_modules/.vite/deps/chunk-FBPRHMDE.js?v=d3538d4e:3190:3)
    at RtlProvider (http://localhost:3000/node_modules/.vite/deps/chunk-FBPRHMDE.js?v=d3538d4e:3166:3)
    at ThemeProvider (http://localhost:3000/node_modules/.vite/deps/chunk-FBPRHMDE.js?v=d3538d4e:3122:5)
    at ThemeProvider2 (http://localhost:3000/node_modules/.vite/deps/chunk-FBPRHMDE.js?v=d3538d4e:3341:5)
    at CssVarsProvider (http://localhost:3000/node_modules/.vite/deps/chunk-FBPRHMDE.js?v=d3538d4e:3800:7)
    at ThemeProvider (http://localhost:3000/node_modules/.vite/deps/chunk-VTY5KSLR.js?v=d3538d4e:428:3)
    at LocalizationProvider2 (http://localhost:3000/node_modules/.vite/deps/chunk-H5T4L5V4.js?v=d3538d4e:34:17)
    at AppWrapper (http://localhost:3000/src/AppWrapper.jsx:26:23)
    at Provider (http://localhost:3000/node_modules/.vite/deps/react-redux.js?v=d3538d4e:1101:3)
    at Suspense

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions