textarea: long textarea causes scroll jumping issues #3070
Description
Place a textarea
inside a content pane (ie. md-content
or md-dialog-content
). As one starts to create a very long message that span many rows and causes overflow to occur and scrollbars to show, one will notice that when you type anything, the scrollbar will jump to the top of the overflow content pane. If one tries to type text, the screen will jump down to the text (which is what the browser does automatically) but then the screen is immediately jumped back up to the top of the scrolling content.
The result is that you cannot see what you're typing once you get to a very long text message. Additionally, the scroll jumping causes headaches. Somewhere along the line, I think someone is doing some sort of scroll reset or setting the scrollTop.
You can duplicate this using the Demo on ngmaterial website.
https://material.angularjs.org/latest/#/demo/material.components.input
Simply keep creating new rows and making the overflown content type expand until it begins to jump.