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

Ability to turn off autosizing #330

Open
tilden opened this issue Jun 3, 2021 · 1 comment
Open

Ability to turn off autosizing #330

tilden opened this issue Jun 3, 2021 · 1 comment

Comments

@tilden
Copy link

tilden commented Jun 3, 2021

One of my uses of this component involves a "full screen" editor toggle that expands the autosizing text area to a larger, fixed height. When in this mode, I no longer want the text area to automatically resize. Is there a chance an enabled prop could be added allowing me to dynamically turn off the resizing function if needed? Thanks!

@LoganDark
Copy link

LoganDark commented Jul 27, 2021

You could set minRows and maxRows to the same value, or replace the textarea

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