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: Autogrow initially has a scrollbar on FF 26 #6996

Closed
gabrielschulhof opened this Issue Jan 24, 2014 · 2 comments

Comments

Projects
None yet
1 participant
@gabrielschulhof
Contributor

gabrielschulhof commented Jan 24, 2014

@gabrielschulhof

This comment has been minimized.

Contributor

gabrielschulhof commented Jan 24, 2014

If you turn off the animation it works fine.

@gabrielschulhof

This comment has been minimized.

Contributor

gabrielschulhof commented Jan 24, 2014

The weird thing is that the values that _updateHeight() receives are the same initially as well as when you subsequently type a character that does not affect the height of the textarea, and yet initially it gets a scrollbar, and subsequently, for the same height, that scrollbar disappears. It seems that reaching that height via animation vs. reaching it instantly makes a difference to FF.

gabrielschulhof added a commit that referenced this issue Jan 24, 2014

Textarea: Turn off overflow for autogrow textarea widgets
This has two benefits:
1. Scrollbars will not affect the reported initial height
2. The scrollbar will not be displayed during the initial animation, only to
   disappear during the final animation frame

Fixes gh-6996
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment