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 · 1 comment

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

@2nikhiltom
Copy link
Contributor

2nikhiltom commented Nov 27, 2024

Hey @ruchika777 , I do see white "artifact" that appears on the Search component at certain zoom levels -> stackblitz and stackblitz we have an open bug for this

I can not repo the visual alignment issues that are seen in shared screenshots : could you reproduce these on stackblitz

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

3 participants