We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
rows
As suggested in #17
Unlike now, fit-textarea should start being a little more stateful, like caching the line-height
fit-textarea
line-height
getComputedStyle($0).lineHeight
normal
scrollHeight/lineHeight
This would fix #17 permanently.
Note: v3 is deprecated and any work should start on top of v2
The text was updated successfully, but these errors were encountered:
No branches or pull requests
As suggested in #17
Unlike now,
fit-textarea
should start being a little more stateful, like caching theline-height
getComputedStyle($0).lineHeight
to get the line height on first loadnormal
, estimate (with excess) and then detect the height change at the nextrows
increaserows
attribute toscrollHeight/lineHeight
This would fix #17 permanently.
Note: v3 is deprecated and any work should start on top of v2
The text was updated successfully, but these errors were encountered: