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

fix(DatePicker): ensure icon is correct if label extends past input #14919

Merged
merged 2 commits into from
Oct 18, 2023

Conversation

tw15egan
Copy link
Collaborator

Closes #14907

Adds a wrapper around the input and SVG so that the position of the icon is always computed based on the input rather than the container

Changelog

New

  • span around input and svg

Changed

  • moved position: relative to the outer wrapper to the new span

Testing / Reviewing

Add a really long label to Single DatePicker and ensure the icon stays in the correct spot

@tw15egan tw15egan requested a review from a team as a code owner October 16, 2023 19:49
@netlify
Copy link

netlify bot commented Oct 16, 2023

Deploy Preview for v11-carbon-react ready!

Name Link
🔨 Latest commit 6ddb771
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-react/deploys/652e95eb95e68d00080fd9e3
😎 Deploy Preview https://deploy-preview-14919--v11-carbon-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@netlify
Copy link

netlify bot commented Oct 16, 2023

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit 6ddb771
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/652e95ebd3ed1c0008c163d8
😎 Deploy Preview https://deploy-preview-14919--carbon-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@tay1orjones tay1orjones left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@github-actions github-actions bot added this pull request to the merge queue Oct 17, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Oct 17, 2023
@guidari guidari added this pull request to the merge queue Oct 18, 2023
Merged via the queue into carbon-design-system:main with commit 20c087b Oct 18, 2023
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants