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

refactor: prevent page scrolling when resizing text area (CP: 21) #2444

Merged
merged 3 commits into from
Sep 3, 2021

Conversation

sissbruecker
Copy link
Contributor

This change prevents the page from scrolling while the text area is measuring its height as part of the auto resize feature, when entering or removing text into the textarea.

Cherry pick of: vaadin/vaadin-text-field#581
Rollback of changes from: #2143

Tagged as refactor, as this just replaces the previous fix.

This change prevents the page from scrolling while the text area is measuring its height as part of the auto resize feature, when entering or removing text into the textarea.

Cherry pick of: vaadin/vaadin-text-field#581
Rollback of changes from: #2143
Copy link
Member

@web-padawan web-padawan left a comment

Choose a reason for hiding this comment

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

Please also apply these styles to text-area package on master, as it seems useful there too.

@sonarcloud
Copy link

sonarcloud bot commented Sep 3, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@web-padawan web-padawan merged commit 6f5b68d into 21.0 Sep 3, 2021
@web-padawan web-padawan deleted the cp/prevent_page_scroll_textarea_resize_21 branch September 3, 2021 11:55
web-padawan pushed a commit that referenced this pull request Sep 3, 2021
@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with platform 21.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants