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

Defer onDidStyleChange to Repl being visible #200473

Merged

Conversation

hsfzxjy
Copy link
Contributor

@hsfzxjy hsfzxjy commented Dec 10, 2023

fix #200369

When Repl is invisible, ListView.probeDynamicHeight cannot correctly calculate the height of each item, and thus it mistakenly removes all items.

This fix disables tree rerendering when Repl is hidden and defers the calculation to when Repl shows up again.

@roblourens roblourens added this to the December / January 2024 milestone Dec 15, 2023
@roblourens roblourens enabled auto-merge (squash) December 18, 2023 19:13
@roblourens roblourens merged commit cd808e5 into microsoft:main Dec 18, 2023
6 checks passed
@hsfzxjy hsfzxjy deleted the debug-console-cleared-on-style-change-200369 branch December 18, 2023 20:05
@microsoft microsoft locked and limited conversation to collaborators Jun 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The debug console content is cleared when debug console font size is changed
3 participants