Textarea: Autogrow initially has a scrollbar on FF 26 #6996

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

Projects

None yet

1 participant

@gabrielschulhof
Contributor
Contributor

If you turn off the animation it works fine.

Contributor

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 gabrielschulhof added a commit that referenced this issue Jan 24, 2014
@gabrielschulhof gabrielschulhof 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
7fe3328
@gabrielschulhof gabrielschulhof added a commit that closed this issue Feb 6, 2014
@gabrielschulhof gabrielschulhof 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
9904b3f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment