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
It appears that skeleton state of Dropdown component is missing the label. Only the field itself get skeleton-ized, and label went missing. This caused a small page jump when loading. Other common form inputs has the label in skeleton state already.
Also, because storybook doesn't contain the skeleton states of these components, I couldn't check what they are:
I'm not sure why, but it's the same way in v10 as well. Also there is no hideLabel option. Maybe this was intentional at one point, but I think we should add the label in by default so there's no page jump when swapping out the skeleton for the real component, and also add the hideLabel option to toggle the rendering of the label or not for cases where a label isn't used on the real component.
Also, because storybook doesn't contain the skeleton states of these components, I couldn't check what they are:
Multiselect
Combo box
Time picker
MultiSelect, FilterableMultiSelect, Combobox, and Dropdown are all part of the "Dropdown family", so the intent is for all of these components you would use the Dropdown skeleton. All the more reason why we should fix the label issue above.
Timepicker is a combination of TextInput and Select components. For a skeleton state experience you should be able to use the TextInputSkeleton without hideLabel next to 1-2 SelectSkeleton components with the hideLabel.
Package
@carbon/react, @carbon/styles, carbon-components, carbon-components-react
Browser
No response
Package version
Latest
React version
No response
Description
It appears that skeleton state of Dropdown component is missing the label. Only the field itself get skeleton-ized, and label went missing. This caused a small page jump when loading. Other common form inputs has the label in skeleton state already.
Also, because storybook doesn't contain the skeleton states of these components, I couldn't check what they are:
Reproduction/example
https://react.carbondesignsystem.com/?path=/story/components-dropdown--skeleton
Steps to reproduce
Click through for skeleton state story and look for label
Suggested Severity
None
Application/PAL
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: