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

SuperTextField and SuperTextArea should optionally growWithInput #157

Open
vaadin-miki opened this issue Jun 10, 2020 · 0 comments
Open
Labels
api All things related with adding, removing and modifying public API. enhancement New feature or request help wanted Extra attention is needed not sure if needed The results are probably not worth the effort
Milestone

Comments

@vaadin-miki
Copy link
Owner

As a neat feature it could be allowed for text fields and text areas to grow while the input is being typed. This can be done by listening to change (input) events in JS and setting the input's width to scrollWidth.

@vaadin-miki vaadin-miki added the enhancement New feature or request label Jun 10, 2020
@vaadin-miki vaadin-miki added this to the Future milestone Jun 10, 2020
@vaadin-miki vaadin-miki added api All things related with adding, removing and modifying public API. help wanted Extra attention is needed not sure if needed The results are probably not worth the effort labels Jul 8, 2020
vaadin-miki added a commit that referenced this issue Jul 9, 2020
a primitive and simple auto-grow, somewhat working
this needs more research, as there can be clear button visible, individual paddings, etc. to be taken into account

not sure if the effort is worth the effect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api All things related with adding, removing and modifying public API. enhancement New feature or request help wanted Extra attention is needed not sure if needed The results are probably not worth the effort
Projects
None yet
Development

No branches or pull requests

1 participant