Closed ccr112393 closed 5 days ago
Thanks for the issue. Are you able to reproduce outside of CEP? ie in a codesandbox or stackblitz?
Took a further look at this. This is the expected behavior. It will do this in all browsers. If the label was very long, then we don't want it pushing the field down to center align. It should be first baseline aligned so the text in the field is aligned with the first text line of the label.
However, something is still going on here because those stepper buttons don't look right.
I'm going to close this as working as intended.
Provide a general summary of the issue here
When component label position is set to "side", and the text falls onto more than one line, the label's Y axis is off center.
๐ค Expected Behavior?
Multi-line side labels would automatically be centered on the y-axis with its corresponding component, or offer customizable alignment options in relation to the component (i.e.: top, middle, bottom)
๐ฏ Current Behavior
Currently, multi-line side labels retain their initial position resulting in text that falls below the component
๐ Possible Solution
No response
๐ฆ Context
No response
๐ฅ๏ธ Steps to Reproduce
Create a Form component with labelPosition="side" and reduce the form width so the labels fall to multiple lines.
Version
3.38.0
What browsers are you seeing the problem on?
Chrome, Other
If other, please specify.
Adobe CEP Chromium Embedded
What operating system are you using?
MacOS
๐งข Your Company/Team
No response
๐ท Tracking Issue
No response