Frontmatter
| id | 5265 |
| title | component.wrapper.MonacoEditor: using the ResizeObserver |
| state | Closed |
| labels | enhancement |
| assignees | tobiu |
| createdAt | Feb 23, 2024, 6:38 PM |
| updatedAt | Mar 4, 2024, 6:08 PM |
| githubUrl | https://github.com/neomjs/neo/issues/5265 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Mar 4, 2024, 6:08 PM |
while we already call
editor.layout()when changing the height or width configs, this does not feel sufficient.imagine flexbox layouts or browser resizing. so we should honor all size changes and re-layout the editor div in a buffered way.