Skip to content

In Multiline textField scroll appear when number of line is less then maxRows #9277

Description

@carpben

In certain screen width scroll appears even when it shouldn't, when the number of lines is less then the defined number of maxRows.

  • I have searched the issues of this repository and believe that this is not a duplicate.

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

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions