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
What did you expect to happen? What happened instead? What would you like to
see changed? Expected: The label text doesn't overflow from the toggle component Actual: Label text isn't contained within the bx--toggle-input__label element, so always overflows Desired: Label text should be contained within the bx--toggle-input__label element, so it is possible to right align the toggle component
What browser are you working in?
Observed in Chrome Version 85.0.4183.102, Firefox 68.12.0esr
What version of the Carbon Design System are you using?
Right alligned toggle has overflowing label text:
What package(s) are you using?
carbon-components
carbon-components-react
Detailed description
When a Carbon toggle is right aligned the label text is able to overflow.
Eg when the toggle is in a
flex
parent that has thealign-items: flex-end;
applied:Observed in
Chrome Version 85.0.4183.102
,Firefox 68.12.0esr
IBM Netcool Operations Insight
https://codesandbox.io/s/frosty-hooks-o783wx
The text was updated successfully, but these errors were encountered: