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

Create "auto-growing" textarea input #4

Open
kgierke opened this issue Mar 14, 2022 · 3 comments
Open

Create "auto-growing" textarea input #4

kgierke opened this issue Mar 14, 2022 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@kgierke
Copy link
Owner

kgierke commented Mar 14, 2022

Create an automatically resizing textarea component based on this solution: https://css-tricks.com/the-cleanest-trick-for-autogrowing-textareas/

@kgierke kgierke added the enhancement New feature or request label Mar 14, 2022
@kgierke kgierke self-assigned this Mar 14, 2022
@fenilli
Copy link

fenilli commented Mar 14, 2022

I think this feature could use https://github.com/jackmoore/autosize simple library for that case.

@kgierke
Copy link
Owner Author

kgierke commented Mar 14, 2022

Thanks for the input, st first glance it looks like a bunch of JavaScript for something which apparently can be solved anlogst purely with css. Not sure about browser compatibility so i definitely gonna have a look into this.

@fenilli
Copy link

fenilli commented Mar 14, 2022

I think JS would be more elegant of a solution, CSS is kinda of a pain to deal with, and can be broken by other parties using similar names by just overwriting.

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

No branches or pull requests

2 participants