Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting a minimum height with auto resize #589

Closed
erquhart opened this issue Nov 9, 2023 · 2 comments
Closed

Setting a minimum height with auto resize #589

erquhart opened this issue Nov 9, 2023 · 2 comments

Comments

@erquhart
Copy link

erquhart commented Nov 9, 2023

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!

@jaywcjlove
Copy link
Member

@erquhart Upgrade v3.25.3

@erquhart
Copy link
Author

Holy smokes that was fast, thank you!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants