Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Date Picker Component. The calendar icon for React, Vue and Angular components, is following the label width #14907

Closed
2 tasks done
paulobelucci opened this issue Oct 16, 2023 · 0 comments · Fixed by #14919

Comments

@paulobelucci
Copy link

Package

carbon-components

Browser

Chrome, Safari, Firefox

Package version

v11.40.0

Description

When setting a Label for the component Date Picker, if the Label is too long, the calendar icon is following the Label width. So the icon is being dragged out of the component.

Screenshots

StoryBook.

Vue - Single using Date

image

React - Single With Calendar

image

Angular - Single

image

Steps to reproduce

  • Import a Date Picker (Single) component and add it to the project

  • Set a label that is larger than the width of the component.

  • The icon should be dragged out of the component.

Code of Conduct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants