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

vaadin-text-area style in readonly mode #240

Closed
gatanaso opened this issue Jul 16, 2018 · 1 comment
Closed

vaadin-text-area style in readonly mode #240

gatanaso opened this issue Jul 16, 2018 · 1 comment
Assignees

Comments

@gatanaso
Copy link
Contributor

gatanaso commented Jul 16, 2018

The vaadin-text-area styles are not being applied correctly when it’s in readonly mode.
There is no dashed border, or a transparent background as it is the case for the vaadin-text-field

  1. Expected behavior:
    The vaadin-text-area has a dashed border and transparent background when in readonly mode, such as:

screen shot 2018-07-16 at 16 35 45

  1. Actual behavior:
    The vaadin-text-area has no borders and the background is not transparent:

vaadin-text-area-readonly

@web-padawan web-padawan added the needs triage Has to be triaged by the team label Jul 24, 2018
@web-padawan
Copy link
Member

Caused by this line: https://github.com/vaadin/vaadin-text-field/blob/master/theme/lumo/vaadin-text-area-styles.html#L18

Should be fixed if we change to this one:

:host(:not([readonly])) [part="input-field"]::after {

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

No branches or pull requests

3 participants