Skip to content

Monaco Editor height 100% make the editor incorrectly displayed #5

@xhd2015

Description

@xhd2015

Code:

    <TextEditor style={{ height: "100%" }} value={logs} readonly />

Result:
image

Workaround:

    <TextEditor style={{ height: "400px" }} value={logs} readonly />
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions