In certain screen width scroll appears even when it shouldn't, when the number of lines is less then the defined number of maxRows.
Expected Behavior
I expect scroll to appear only when the number of lines in a multiline text field is bigger then the defined maxRows.
Current Behavior
I defined maxRows to be 8. When I make the screen narrow scroll can appear when there are only 7 rows, giving a viewport of only 6 rows.
Steps to Reproduce (for bugs)
1.Define max rows of 8.
2. define width by percentage.
3.add text,
4.and change the width of the window.
Context
I'm trying to make a to do app with some multiline text fields. The app is responsive.
Your Environment
| Tech |
Version |
| Material-UI |
next |
| React |
16 |
| browser |
chrome |
| etc |
windows 10 |
In certain screen width scroll appears even when it shouldn't, when the number of lines is less then the defined number of maxRows.
Expected Behavior
I expect scroll to appear only when the number of lines in a multiline text field is bigger then the defined maxRows.
Current Behavior
I defined maxRows to be 8. When I make the screen narrow scroll can appear when there are only 7 rows, giving a viewport of only 6 rows.
Steps to Reproduce (for bugs)
1.Define max rows of 8.
2. define width by percentage.
3.add text,
4.and change the width of the window.
Context
I'm trying to make a to do app with some multiline text fields. The app is responsive.
Your Environment