JedWatson / JedWatson/react-select

Word wrap instead of Ellipses react-select v2

Open
#5,766 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

Hello! i am trying to make word wrap but i am not able to do it, in the last version it works but because of the code that already exists i can't update the react-select version, does anyone by chance know how i can do it in version 2.4 to do the same as in the last version?

Version 2
image

Last Version
image

Codesandbox with version 2.4 the one I have the problem with

https://codesandbox.io/s/codesandboxer-example-forked-ggrm3q?file=/example.tsx:1109-1407

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

Start with the linked CodeSandbox using react-select 2.4 and compare its label rendering with the screenshots and the reported behavior in the last version. Determine how the example currently produces ellipses and what is needed for wrapping; done means the 2.4 example wraps text as shown without upgrading the dependency.

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.