JedWatson / JedWatson/react-select
Control element styles are not getting applied if the options contain special characters
Open
Nobody has claimed this yet.
awaiting-author-response
issue/bug-unconfirmed
- Dominant language
- TypeScript
- Stars
- 28k
- Forks
- 4.1k
- PR merge metrics
- No merged PRs in 30d
Description
If the options is having special characters, then the control element class name is suffixed with options.
Using styles property to changes the control element styles
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in react-select with option values containing special characters and the styles property targeting the control element. Inspect how the control class name is formed and verify that styles still apply when the class name includes those options.
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
- Needs clarification
- Newbie friendliness
- 30/100