Skip to content

Setting a minimum height with auto resize #589

@erquhart

Description

@erquhart

I'm using height="100%" to automatically adjust height, which is an amazing feature (thank you)!

It seems the editor can only start at a very very small height when using auto height, minHeight doesn't work with it. It's so short that you can't event see the entire cursor:

Screenshot 2023-11-09 at 5 40 44 PM

I would love to be able to set a minimum height of like 200 for my use case, and I imagine most folks using a markdown editor will want a higher default height as well.

Is it possible to get minHeight working so I can set a minimum height? Or at least for the library to provide a better starting height?

Thanks for a great library!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions