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

Search component: placeholder is hidden behind the close button even when the close button is not visible. #95

Open
fcollonval opened this issue Apr 19, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@fcollonval
Copy link
Member

Description

On the storybook, I still see a similar issue but only due to the close button:

image

image

Expected behavior

Placeholder is visible in the full width when the close button is hidden

@fcollonval fcollonval added the bug Something isn't working label Apr 19, 2024
@fcollonval
Copy link
Member Author

An attempt to fix this using visibility: collapse was partly successful - it works on firefox but not on Chrom*

The issue is if the button is fully hidden (with display: none) the width of the input must be increased so that the component width stays identical when the button is visible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant