[Bug][PDF] GridPDFExport and TreeListPDFExport ReactDOM import errors in react 17 and 19 #2306
Labels
Bug
Item which indicates that something is not working
KendoReact
pkg:Grid
pkg:PdfExport
pkg:Treelist
Regression
Regression bug
Milestone
Related to #2286
I'm submitting a...
Current behavior
After version
7.2.3
, the GridPDFExport and TreeListPDFExport components are causing the following errors.In Next 15 RC with React 19 RC
These component are using either ReactDOM.render or createRoot based on the React version.
Solution for React 17
Until this bug is fixed, you can use version
7.2.3
of@progress/kendo-react-pdf
that does not importreact-dom/client
Expected behavior
No errors in all React versions.
Minimal reproduction of the problem with instructions
Use the GridPDFExport or TreeListPDFExport component in React 17, or Next 15 RC.
The text was updated successfully, but these errors were encountered: