hi.CategoryTree and ModelsTree components keep flickering . #1242
-
When I use the CategoryTree and ModelsTree components in itwin.js, I found that the flashing keeps on, is there any way to stop the flashing? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
We don't see this behavior in other applications that use these components. Is it possible that you're causing re-renders by passing new (different) props? Can you record how the flickering looks like and upload the video? |
Beta Was this translation helpful? Give feedback.
-
Im assuming you used the itwin-viewer cra template, and youre seeing the same flickering issue described here: https://github.com/imodeljs/viewer-components-react/discussions/105. If so, should be as simple as updating the ver of tree-widget-react consumed in your app. |
Beta Was this translation helpful? Give feedback.
We don't see this behavior in other applications that use these components. Is it possible that you're causing re-renders by passing new (different) props? Can you record how the flickering looks like and upload the video?