JedWatson / JedWatson/react-select

Removing the dropdown indicator separator creates space between the clear icon and dropdown indicator icon

Open
#6,010 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

issue/bug-unconfirmed
Dominant language
TypeScript
Stars
28k
Forks
4.1k
PR merge metrics
No merged PRs in 30d

Description

I just upgraded to react-select the latest version from react-select v1 and I removed the indicator separator and set isClearable to clear values but it's giving me the below UI:

Image

There's a space between dropdown indicator icon and clear icon and this was not there in react-select v1, v1 image below:

Image - here no space between the clear icon and dropdown icon.

I need to achieve this design in the latest react-select, Does anyone have any idea on how to solve it. I know, they introduced a separator in the latest release but there's an option to remove the separator then there should be an option to remove that space also.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the latest react-select setup with isClearable and the indicator separator removed, then inspect how the clear and dropdown indicators are laid out and styled. Done means removing the separator also removes the unwanted gap, matching the react-select v1 appearance shown in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.