You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[x] bug report => see 'Providing a Reproducible Scenario'
[] feature request => do not use Github for feature requests, see 'Customers of AG Grid'
[] support request => see 'Requesting Community Support'
Providing a Reproducible Scenario
Accepted reproducible scenarios are
A description of the detailed steps to reproduce your behaviour in one of our examples in the docs.
To see the code working simply pnpm add next@14.3.0-canary.44
While not technically a bug for current non-beta releases, this may become a bug upon the release of react@19
Current behavior
Any use of AG-grid exits with fatal error: TypeError: Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element'.
(A similar situation for ResizeObserver happened during the pre-release of React18)
Based on your description we've now reproduced this issue as a bug.
We have added this bug to our backlog and we are tracking it with the following reference: AG-11651
We try to fix bugs from one release to the next, so this should be fixed in the next release or the one after if it was raised too close to the next release date.
The best way to track this is to sign up for AG Grid new release notifications using the instructions here. This way you'll know as soon as a new version is out and you can check whether this specific item was implemented on the changelog page.
I'm submitting a ...
Providing a Reproducible Scenario
Accepted reproducible scenarios are
In preparation for React19, as per most recent announcement from React, app developers should use
react@18.3.1
https://react.dev/blog/2024/04/25/react-19-upgrade-guide
while feedback is obtained from library maintainers on react@19.0.0-beta
While testing on next.js,
react@19.0.0-beta-4508873393-20240430 became a peer dependency from 14.3.0-canary.45 and onwards.
at which point the
ResizeObserver
bug appears in ag-grid.Reproduction below using most recent next@canary
https://codesandbox.io/p/github/rbox-risk/agv2-react19beta/main?import=true
To see the code working simply
pnpm add next@14.3.0-canary.44
While not technically a bug for current non-beta releases, this may become a bug upon the release of react@19
Current behavior
Any use of AG-grid exits with fatal error:
TypeError: Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element'.
(A similar situation for
ResizeObserver
happened during the pre-release of React18)Expected behavior
No fatal error
Please tell us about your environment:
React
AG Grid version: X.X.X
31.3.1
Browser:
all
Language: [all | TypeScript X.X | ES6/7 | ES5]
ES6/7
The text was updated successfully, but these errors were encountered: