You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using <md-filled-text-field> (type="textarea"), line breaks entered in the textarea are not displayed in Firefox.
However, they are displayed in Chrome.
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.
Question:
Is it possible to set style="white-space:pre-wrap;" only for the <textarea> element of inside <md-filled-text-field>?
Description:
using
<md-filled-text-field> (type="textarea")
, line breaks entered in the textarea are not displayed in Firefox.However, they are displayed in Chrome.
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.
Question:
Is it possible to set
style="white-space:pre-wrap;"
only for the <textarea> element of inside <md-filled-text-field>?Environment information:
https://github.com/material-components/material-web/tree/2dabbdc142c88e4c94bcbcbaa333811e7126ba97
The text was updated successfully, but these errors were encountered: