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] Performance issue when stretch editor to fit content #4033

Closed
2 tasks done
joebnb opened this issue Jun 20, 2023 · 1 comment
Closed
2 tasks done

[Bug] Performance issue when stretch editor to fit content #4033

joebnb opened this issue Jun 20, 2023 · 1 comment

Comments

@joebnb
Copy link

joebnb commented Jun 20, 2023

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

No response

Monaco Editor Playground Code

const value = new Array(10000).fill(`function hello() {
	alert('Hello world!');
}`).join('\n');

// Hover on each property to see its docs!
const myEditor = monaco.editor.create(document.getElementById("container"), {
	value,
	language: "markdown",
	automaticLayout: true,
	scrollbar: {
		vertical: 'hidden',
		alwaysConsumeMouseWheel: false,
		// handleMouseWheel: false,
	},
});


```html
<div id="container" style="height: 223600px"></div>

Reproduction Steps

hello i have problem that use monaco editor ,and i think this is my requirement problem,but in my view i can't solve it by my self,so it raise this issue,would any help me out this trap.

this issue come from #794,i have a scenario that need expand all editor content for globally scrolling, like this image below.
image

monaco editor was slow responding and flashing when scrolling. i think it's caused ineffective virtual scrolling. but i have no idea to solve this.if there have some tricks please tell me.im looking forward to your reply

Actual (Problematic) Behavior

No response

Expected Behavior

No response

Additional Context

No response

@hediet
Copy link
Member

hediet commented Jun 20, 2023

Closing in favor of microsoft/vscode#185647.

@hediet hediet closed this as not planned Won't fix, can't repro, duplicate, stale Jun 20, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Aug 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants