Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Minimap sections visible only after text edit #4509

Open
1 of 2 tasks
yanny7 opened this issue May 14, 2024 · 0 comments
Open
1 of 2 tasks

[Bug] Minimap sections visible only after text edit #4509

yanny7 opened this issue May 14, 2024 · 0 comments

Comments

@yanny7
Copy link

yanny7 commented May 14, 2024

Reproducible in vscode.dev or in VS Code Desktop?

  • Not reproducible in vscode.dev or VS Code Desktop

Reproducible in the monaco editor playground?

Monaco Editor Playground Link

https://microsoft.github.io/monaco-editor/playground.html?source=v0.48.0#XQAAAAKmAQAAAAAAAABBqQkHQ5NjdMjwa-jY7SIQ9S7DNlzs5W-mwj0fe1ZCDRFc9ws9XQE0SJE1jc2VKxhaLFIw9vEWSxW3yscwzx2rJfGetpg8d5BCIdogK6CBmgyKHIOVjH6uO-oA-RA-rcpQdGBlgwMT7NDeGjyzFlJIBL2Z6q6qMaG61JhKpmdOCX5afit8iQEbX81H5u2SGzmDNU1jVDzmJdNKsGVJGeg578gTnGsCun2EuvorlVRdXMchhMo9wkj4fDuJfLhEgS0mPagElFAPESpMKwf0Eviqwb0TOHHs6TjNG3QPU4DoLs3u50vOehHOT0lgY5FG3Tj2OOGOVlLOZ841GNU8JRSho5I5shb8Jqlj9-bpJuOhr-gaLo8GXVAwgHjbDN9wqlkWWMHCfAOwvOoXP7dLNnRoTOY_F_6qb4o

Monaco Editor Playground Code

const value = /* set from `myEditor.getModel()`: */ `// MARK: Hello World

function hello() {
	alert('Hello world!');
}

// MARK: Test
`;

// Hover on each property to see its docs!
const myEditor = monaco.editor.create(document.getElementById("container"), {
	value,
	language: "javascript",
	automaticLayout: true,
});

Reproduction Steps

  1. Place provided editor playground code

Actual (Problematic) Behavior

Minimap sections aren't visible

Expected Behavior

Minimap sections are visible after first edit in editor

Additional Context

Tested on 0.48.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant