Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rows and cols propertie #393

Closed
wants to merge 1 commit into from
Closed

Conversation

samiheikki
Copy link
Contributor

@samiheikki samiheikki commented Jun 29, 2019

Fixes #351


This change is Reviewable

Copy link
Member

@tomivirkki tomivirkki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR, seems to be working quite well on Chrome at least.

input.style.height = inputHeight + 'px';
} else if (this.rows) {
input.style.height = 'initial';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a <vaadin-text-area> with rows doesn't scroll when the content is long enough to overflow. This is due to the explicit overflow: hidden on the <textarea> which should probably not be in use when rows is defined.

@yuriy-fix
Copy link
Contributor

The targeted issue is closed now: #351 (comment)

@yuriy-fix yuriy-fix closed this Sep 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow setting "rows" and "cols" for TextArea
3 participants