JedWatson / JedWatson/react-select

tailwind and react-select don't work

Open
#5,703 2 comments 5 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

Thanks for using react-select!

I tried classNamePrefix and className prop through the object, but it still doesn't work in any way. I tried to define classes in the global.css class Name Prefix file, for example a controller or something else, but the styles still didn't work. Maybe you can fix it? I tried on version @5 as well.7.4 and on @5.7.0, but still does not work

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

No reproduction, code sample, file, or test is provided. First reproduce the styling problem with Tailwind and react-select v5.7.4 using the reported className and classNamePrefix setup; done means identifying the cause and confirming that the intended classes and styles apply.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, tailwindcss
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.