You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Thank you for your work and documentation on this project!
OnResize Infinite height loop with addon-fit.
To Reproduce
Steps to reproduce the behavior:
Use the OnResize Function to trigger resizing with addon-fit.
Expected behavior
The terminal should resize once then stop.
Desktop (please complete the following information):
OS: Tested on Windows
Browser: Chrome
Version 2.1.1
Additional context
I was able to get consistently good resizing by locking a container to 100vh somewhere outside the Xterm component. and added the below code snippets. I haven't explored yet if this is the appropriate way to change the OnResize method or not, but something is triggering infinite OnResize calls even if you check if the terminal is resizing in the OnResize method. I think it is possile the OnRender fit and the OnResize cause an infinite callback loop.
Describe the bug
Thank you for your work and documentation on this project!
OnResize Infinite height loop with addon-fit.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The terminal should resize once then stop.
Desktop (please complete the following information):
Additional context
I was able to get consistently good resizing by locking a container to 100vh somewhere outside the Xterm component. and added the below code snippets. I haven't explored yet if this is the appropriate way to change the OnResize method or not, but something is triggering infinite OnResize calls even if you check if the terminal is resizing in the OnResize method. I think it is possile the OnRender fit and the OnResize cause an infinite callback loop.
The text was updated successfully, but these errors were encountered: