Describe the bug
When using the MarkdownViewer inside a component like virtual list with a lot of rows, after scrolling sometimes the viewer is rendered with empty content. An error appears in the console:
Warning: You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it.
This is related to this issue.
Expected behavior
No errors should appear on the console in this scenario
Minimal reproducible example
It can be reproduced in this demo: https://addonsv24.flowingcode.com/chat-assistant/markdown-demo (when the demo used to work)
Add-on Version
latest
Vaadin Version
tested on latest vaadin 24
Additional information
No response
Describe the bug
When using the MarkdownViewer inside a component like virtual list with a lot of rows, after scrolling sometimes the viewer is rendered with empty content. An error appears in the console:
Warning: You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it.This is related to this issue.
Expected behavior
No errors should appear on the console in this scenario
Minimal reproducible example
It can be reproduced in this demo: https://addonsv24.flowingcode.com/chat-assistant/markdown-demo (when the demo used to work)
Add-on Version
latest
Vaadin Version
tested on latest vaadin 24
Additional information
No response