LearnNewsExamplesServices
Frontmatter
id5265
titlecomponent.wrapper.MonacoEditor: using the ResizeObserver
stateClosed
labels
enhancement
assigneestobiu
createdAtFeb 23, 2024, 6:38 PM
updatedAtMar 4, 2024, 6:08 PM
githubUrlhttps://github.com/neomjs/neo/issues/5265
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtMar 4, 2024, 6:08 PM

component.wrapper.MonacoEditor: using the ResizeObserver

Closed v8.1.0 enhancement
tobiu
tobiu commented on Feb 23, 2024, 6:38 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.

tobiu added the enhancement label on Feb 23, 2024, 6:38 PM
tobiu assigned to @tobiu on Feb 23, 2024, 6:38 PM
tobiu referenced in commit 3941b44 - "component.wrapper.MonacoEditor: using the ResizeObserver #5265" on Mar 4, 2024, 6:07 PM
tobiu closed this issue on Mar 4, 2024, 6:08 PM
tobiu referenced in commit 5fd809d - "component.wrapper.MonacoEditor: using the ResizeObserver #5265" on Mar 26, 2024, 5:29 PM