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

md-filled-text-field (type="textarea") not display line break in Firefox #4581

Closed
hakataminamiWS opened this issue Jul 20, 2023 · 1 comment · Fixed by #4762
Closed

md-filled-text-field (type="textarea") not display line break in Firefox #4581

hakataminamiWS opened this issue Jul 20, 2023 · 1 comment · Fixed by #4762
Assignees

Comments

@hakataminamiWS
Copy link

Description:

using <md-filled-text-field> (type="textarea"), line breaks entered in the textarea are not displayed in Firefox.
image

However, they are displayed in Chrome.
image

Additionally, when setting style="white-space:pre-wrap;" with <md-filled-text-field>, line breaks are displayed.
But the label's display position changes.
Specifically, it appears to be center-aligned rather than left-aligned.
image
image

Question:

Is it possible to set style="white-space:pre-wrap;" only for the <textarea> element of inside <md-filled-text-field>?

Environment information:

@asyncLiz asyncLiz self-assigned this Jul 21, 2023
@asyncLiz
Copy link
Collaborator

Sounds reasonable, we'll investigate it

copybara-service bot pushed a commit that referenced this issue Aug 29, 2023
copybara-service bot pushed a commit that referenced this issue Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants