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

MultiSelect: Icon shifted too far #14

Closed
melloware opened this issue May 21, 2023 · 1 comment
Closed

MultiSelect: Icon shifted too far #14

melloware opened this issue May 21, 2023 · 1 comment

Comments

@melloware
Copy link
Member

melloware commented May 21, 2023

Describe the bug

Original Issue: primefaces/primereact#4427

The clear icon of the multiselect component used to look like this:
Screenshot_6

But in 9.4.0 it is not aligned correctly anymore:
Screenshot_7

Reproducer

https://codesandbox.io/s/primereact-test-forked-j9mtn0?file=/src/index.js

PrimeReact version

9.4.0

React version

18.x

Language

TypeScript

Build / Runtime

Vite

Browser(s)

Microsoft Edge Version 113.0.1774.42

Steps to reproduce the behavior

  1. Create a multiselect component with the showClear property set to true.
  2. Select one or more items from the multiselect
  3. Look at the alignment of the clear icon

Expected behavior

The clear icon should be aligned properly.

@melloware
Copy link
Member Author

It looks like its right: 3rem when i make it right: 1.2rem it looks much better

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

No branches or pull requests

1 participant