question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't get rid of ellipsis's

See original GitHub issue

When I this:

values={['something', 'something else', 'see this']

I get ellipsis like so:

screen shot 2018-04-06 at 4 22 20 pm

Anyway I can make it go to a new line?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jevelopercommented, Apr 17, 2020

@kirankalyan5 Hey Kiran, setting textNumberOfLines={2} would not work when working in a typescript environment with checks. Unfortunately it needs to be an explicit parameter.

1reaction
kresogalic8commented, Sep 16, 2019

This is what I have in code <SegmentedControlTab values={this.state.eventTypes} selectedIndex={this.state.selectedType} onTabPress={this.handleIndexChange} tabsContainerStyle={{ height: 40 }} activeTabStyle={{ backgroundColor: COLORS.secondary }} activeTabTextStyle={{ color: 'white' }} tabStyle={{ borderColor: COLORS.secondary }} tabTextStyle={{ color: COLORS.dark, fontSize: 12 }} textNumberOfLines={2} />

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Fix Text-Overflow Ellipsis Not Working - Semicolon.dev
A common way to solve ellipsis not working in a table cell is by wrapping cell's content in another HTML element like span,...
Read more >
Remove Ellipsis…? - WordPress.org
In the options ( WP admin > Settings > Excerpt ) you'll see the “Ellipsis” option, you can remove that value and save....
Read more >
How to remove three dots from text-overflow: ellipsis?
So I used text-overflow: ellipsis , it works fine, but I don't wanna keep that "..." 3 dots at the end. Is there...
Read more >
How to Use an Ellipsis in Writing (Without Overusing It)
The ellipsis is an important punctuation mark. Here's how to use an ellipsis in your writing, without overdoing it.
Read more >
Ellipses - Butterick's Practical Typography
If there's text on only one side of the ellipsis, use a nonbreaking space on that side so the ellipsis doesn't get separated...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found