automaticLayout broken on master?
See original GitHub issueRepro:
3.7.5 is from about a month ago, 3.8.3 is from yesterday.
They both have the same outer code for the playground, but refer to different Monaco-editors and Monaco TypeScripts. I’ll know I can move off automaticLayout
by telling the editor when the sidebar changes, but I’ll leave it this way for a few days so there’s a a working repro.
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (8 by maintainers)
Top Results From Across the Web
Understanding Auto Layout - Apple Developer
Auto Layout dynamically calculates the size and position of all the views in your view hierarchy, based on constraints placed on those views....
Read more >Applying an Automatic Layout | yFiles for HTML Documentation
To adopt the new layout in an animated fashion, apply a layout algorithm to a GraphComponent (and its IGraph) using the morphLayout method....
Read more >Monaco Editor component for React.
MonacoEditor component for React. ... This library is supported for use in Windows Tailored Apps only. Build: 6.2.8100.0.
Read more >Automatic Layout - The LibreOffice Help
1; 2; 3; 4; 5; 6; →; ⇥. 3D chartsaligning -- 2D chartsaligning -- titles in chartsarea chartsaverages in chartsaxes -- better scalingaxes ......
Read more >Learn how to use parent pages in InDesign - Adobe Support
Any reference to Master page is replaced by Parent page in our Help articles for the English, ... (See About automatic layout adjustment.)....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Resize Observer is the best way to do it, but lacks Safari support and I think at the time Monaco was still supporting IE, which also doesn’t support Resize Observer. Maybe we should implement Resize Observer and then use the interval timer as a fallback for Safari?
Well, I think we’re using the wrong concept. I just found https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver