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]: Incorrect visual alignment for clear search button in search component for size='lg' & 'md' #18144

Open
2 tasks done
ruchika777 opened this issue Nov 22, 2024 · 0 comments

Comments

@ruchika777
Copy link

Package

@carbon/react

Browser

Chrome

Package version

1.64.0

Description

Hi team,

For size= 'md' search component the close button does not align with search bar height.

Please refer the screenshot.

Image

But only it works for size = 'sm'

Image

Screenshots

Image

Image

Steps to reproduce

  1. Render the search component in container of width 496 px
  2. use size = 'lg' / 'md' (issue)
  3. use size = 'sm' (expected)

Code of Conduct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant