[2008] ui-text-input partial rendering when set to text area (multi-line) #2140
Conversation
|
Can I ask whether you have checked it with compact row spacing in the theme? |
Steve-Mcl
left a comment
There was a problem hiding this comment.
Unfortunately this would cause misalignment with other widgets when anything other than default density is set on the theme.
For example, adding 3 text elements in a group and setting the density to compact, when this PR applies its styling, it affects adjacent widgets in the same group and causes misalignment with widgets in other groups.
This is something the community will jump on immediately so needs a bit of a re-think.
|
Hey @Steve-Mcl I updated this so we now derive the padding and fade from Compact
Comfortable
Default
|






Description
In
textarea(multi-line) mode, the global outlined-field rule that compresses input padding to2pxfor compact single-line inputs left the floating label overlapping the first line of text. This restores adequate top/bottom padding scoped to thetextareaonly (single-line inputs keep their compact spacing), and adds a Cypress regression test asserting the padding isn't collapsed.Related Issue(s)
Resolves #2008
Checklist
flowforge.yml?FlowFuse/helmto update ConfigMap TemplateFlowFuse/CloudProjectto update values for Staging/ProductionLabels
area:migrationlabel