kendo-react
kendo-react copied to clipboard
Flickering and undesired scroll glitch in Grid with virtual scrolling when using createRoot
To observe the issue, open the following example and scroll using the mouse wheel: https://stackblitz.com/edit/react-ikkgsq-ffxlg5?file=app%2Fmain.jsx,app%2FrowRender.js
Replacing createRoot with ReactDom.render resolves the issue: https://stackblitz.com/edit/react-ikkgsq-ffxlg5?file=app%2Fmain.jsx,app%2FrowRender.js
Please, Is there a solution to this? I have the same issue. Using ReactDom.render works fine but shows a warning in the console "react-dom.development.js:86 Warning: ReactDOM.render is no longer supported in React 18."
I've also replicated the issue (right before finding this issue)
Works in React 17 https://stackblitz.com/edit/react-hejynz?file=app%2Fmain.jsx
Flickers in React 18 https://stackblitz.com/edit/react-hejynz-pn7umx?file=app%2Fmain.jsx
Fixed in dev channel version 5.11.1-dev.202302071533.
Examples:
- https://stackblitz.com/edit/react-hejynz-hr2upm?file=app%2Fmain.jsx
- https://stackblitz.com/edit/react-ikkgsq-tomdrj?file=app%2Fmain.jsx,app%2FrowRender.js