Skip to content

Terminal not always resized on navigation #43

@willemv

Description

@willemv

In Safari, it seems like the connectedCallback of the FitAddon is often called before the terminal is fully initialized

This means the element of the terminal is still undefined when the first fit() is triggered, in which case the fit addon will not propose any dimensions.

This can be solved by adding a listener for the terminal-initialized event, and triggering a fit in response to that event.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Under consideration

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions