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

Autoresize Textarea #276

Closed
SuperDOS opened this issue Mar 14, 2024 · 3 comments
Closed

Autoresize Textarea #276

SuperDOS opened this issue Mar 14, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request next release Available in the next release

Comments

@SuperDOS
Copy link

Would it be possible to resize the textarea inputs similiar to what materialize-css does?

@leonardorafael leonardorafael self-assigned this Mar 18, 2024
@leonardorafael leonardorafael added the enhancement New feature or request label Mar 18, 2024
@leonardorafael
Copy link
Collaborator

Yes we can do that. Today the JS file of Beer CSS is optional and if you use it, you can do the job with almost ZERO JS in your project. We will try to add this on next release.

@guidouil
Copy link
Contributor

I would love that to for a chat interface with AI ;)

@leonardorafael leonardorafael added the next release Available in the next release label Mar 22, 2024
@SuperDOS
Copy link
Author

SuperDOS commented Apr 4, 2024

noticed now when version 123 of chrome is released you can use the new css attribute field-sizing:
textarea {
field-sizing: content;
}

https://github.com/tkent-google/explainers/blob/main/form-sizing.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request next release Available in the next release
Projects
None yet
Development

No branches or pull requests

3 participants