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

Fix terminal resizes incorrectly in flex parent #1663

Merged
merged 1 commit into from
Nov 24, 2024
Merged

Conversation

webfiltered
Copy link
Contributor

Short: The terminal resizes to the visible area on screen.

Longer: Resolves issue where @xterm/addon-fit resize cannot correctly calculate the bounds, as flex children have unlimited growth on one plane.

Containing both axes with overflow: hidden ensures max width/height are available when calculating space.

Pushes siblings or self off-screen
@huchenlei huchenlei merged commit f8bd910 into main Nov 24, 2024
9 checks passed
@huchenlei huchenlei deleted the terminal-resize branch November 24, 2024 16:31
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

Successfully merging this pull request may close these issues.

2 participants