iTwin / itwinjs-core

Monorepo for iTwin.js Library
https://www.itwinjs.org
MIT License
600 stars 210 forks source link

Resizing viewer causes ResizeObserver loop limit to exceed #1241

Closed aruniverse closed 3 years ago

aruniverse commented 3 years ago

Describe the bug When resizing our imodeljs spa (bootstrapped with the itwin-viewer), we get an error about the ResizeObserver loop limit exceeded

To Reproduce Steps to reproduce the behavior: In ui-test-app

  1. Add a global error handler to alert the error
  2. Set UiFrameworkVersion="1" on Viewer component
  3. Resize browser window a bit

Note, this doesn't seem to be an issue with UiFrameworkVersion 2.

NancyMcCallB commented 3 years ago

I've reproduced this in our test app and I'm trying to isolate the problem.