Closed
Description
Bug, feature request, or proposal:
The vertical scrollbar is displayed, when count of rows does not reach maxRows
.
What is the expected behavior?
The vertical scrollbar is displayed only if count of rows is more than max maxRows
.
What is the current behavior?
The vertical scrollbar is visible, when count of rows is between minRows
and maxRows
.
What are the steps to reproduce?
Min rows sets to 2.
Max rows sets to 5.
Add some text in a 3 rows, everything is correct.
The vertical scrollbar is visible on a 4th row (something wrong) but on 5th row is invisible. (correct).
https://stackblitz.com/edit/angular-v6bw5l
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
angular - 6.0.1, material - 6.2.0, browser - chrome