Closed stefankip closed 4 years ago
If you resize the screen by only one pixel it resolves itself. So maybe we could call the calculateWidth() function every time you open the Content tab this would be fixed right?
It does the same whenever you open an infinite editor, ie. when editing DTGEs.
I don't experience the same behaviour with DTGE or another infinite editor. Even if I go to edit the doctype and hit close instead of submit it doesn't behave like this.
It only callapses when I edit the doctype and hit submit
https://github.com/skttl/our-umbraco-matryoshka/commit/a5d61d425380e12c8419616b3df2162fa4d8c66cchanges the logic from using window resize events to using a ResizeObserver. ResizeObserver is currently behind a flag in Safari (I guess Safari 14 which should be due anytime soon will have it), else its supported in all modern browsers.
Steps to reproduce: