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

Textarea autosize and scrollbar off on larger size #496

Open
hoseyjoe opened this issue Dec 2, 2022 · 4 comments
Open

Textarea autosize and scrollbar off on larger size #496

hoseyjoe opened this issue Dec 2, 2022 · 4 comments

Comments

@hoseyjoe
Copy link
Contributor

hoseyjoe commented Dec 2, 2022

The issue seems to get worse the larger the max size of the textarea is. In both cases there is no scrollbar. The builder below is max-height 200px
If you click into the field you can use the up/down arrows to scroll down from the last char

http://haxeui.org/builder/?7c7f9b13
200

Max-width 500px. You can see the bottom letter is cut off
http://haxeui.org/builder/?01346991
500

@hoseyjoe
Copy link
Contributor Author

hoseyjoe commented Dec 6, 2022

Keep an eye on line 1. When the enter key is hit after 9...the 1 shifts up slightly. This is true from this point forward. Except after 13 where it shifts down slightly??
after9

@ianharrigan
Copy link
Member

is this rapid-text-metrics or is the behaviour the same regardless?

Cheers,
Ian

@hoseyjoe
Copy link
Contributor Author

hoseyjoe commented Dec 7, 2022

Does builder use rapid-text-metrics? I believe it is an issue regardless

@ianharrigan
Copy link
Member

Good point... duh... wasnt thinking. Nice one.

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