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
When I call xterm.fit() when terminal is not visible in the page (display: none) it seems to me it does nothing.
Debugging a little, window.getComputedStyle(term.element.parentElement).getPropertyValue('width') return auto instead of a number.
Is there a way to make it work?
Maybe it is the expected behaviour, if so it would be nice to add some hints in the docs.
Details
Browser and browser version: -
OS version: -
xterm.js version: 2.6.0
The text was updated successfully, but these errors were encountered:
When I call xterm.fit() when terminal is not visible in the page (display: none) it seems to me it does nothing.
Debugging a little,
window.getComputedStyle(term.element.parentElement).getPropertyValue('width')
returnauto
instead of a number.Is there a way to make it work?
Maybe it is the expected behaviour, if so it would be nice to add some hints in the docs.
Details
The text was updated successfully, but these errors were encountered: