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

fix: Refactor vaadin-text-area Material styles #3241

Closed
wants to merge 2 commits into from
Closed

Conversation

TatuLund
Copy link
Contributor

fixes: #1333 for Vaadin 22

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.

Let's do some research if we can fix this in a better way for Vaadin 23 (maybe with a breaking change).

Comment on lines +34 to +35
.vaadin-text-area-container::before,
.vaadin-text-area-container::after {
Copy link
Member

Choose a reason for hiding this comment

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

We should not use internal parts in themes.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am just voting for pragmatism here

@TatuLund
Copy link
Contributor Author

Just note. Some visual tests break as this change grows the undefined height field by 2px as the underline is growing "outside". However with these styles it looks good and field with fixed height looks good.

@sonarcloud
Copy link

sonarcloud bot commented Dec 30, 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

@TatuLund
Copy link
Contributor Author

Closing in favor of #3359

@TatuLund TatuLund closed this Jan 31, 2022
@jouni jouni deleted the fix-1333-v22 branch February 1, 2022 11:47
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.

[text-field] Broken vaadin-text-area scroll in Material theme
2 participants