Skip to content
This repository has been archived by the owner on Dec 5, 2020. It is now read-only.

How to disable ellipsis on long label? #9

Open
jamesangetonhouse opened this issue Jun 20, 2018 · 0 comments
Open

How to disable ellipsis on long label? #9

jamesangetonhouse opened this issue Jun 20, 2018 · 0 comments

Comments

@jamesangetonhouse
Copy link

jamesangetonhouse commented Jun 20, 2018

Hi there, I found the package is very easy to use and the default UI is very pleasant. Good work.

However, I notice when the tag label is too long (more than 50 characters). It will show the ellipsis tail effect (same as ellipsizeMode=tail). Is there a way to allow multiple lines?

I notice the code for the tag formatting is at src/TagSelectItem.js, line 68 - numberOfLines={1}

I can directly change the line 68 to numberOfLines={2} and it did help. But don't think is a elegant way of doing that.

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

No branches or pull requests

1 participant