Skip to content

Do not show ellipsis if entire text is less than number of elements to show? #12

Open

Description

@Trevoke

The text I have to display is highly variable; I can check its length and use this component or a regular div, but it would be so much nicer if this component just "did the right thing" :)

Activity

  1. bebraw commented on Jun 15, 2016

    @bebraw
    Owner

    Yeah. That sounds like sane behavior to me. Please PR. 👍

  2. Trevoke commented on Jun 16, 2016

    @Trevoke
    ContributorAuthor

    Hi,

    My schedule will not allow me to work on this for at least fifteen days, and by then I will not be working on React / Redux anymore. While I might be able to contribute, I'm afraid you can't count on me to do this.

  3. bebraw commented on Jun 16, 2016

    @bebraw
    Owner

    No problem. I'll hack together something quick for these. Simple enough. 👍

  4. stahlmanDesign commented on Dec 2, 2016

    @stahlmanDesign

    @bebraw did you ever work on this solution?

  5. bebraw commented on Dec 2, 2016

    @bebraw
    Owner

    @stahlmanDesign Nope, too busy and I forgot the issue. If you want, I can get the project up to date so it's easy to work with.

  6. stahlmanDesign commented on Dec 2, 2016

    @stahlmanDesign

    That would be great, I'll give it a shot

  7. bebraw commented on Dec 5, 2016

    @bebraw
    Owner

    @stahlmanDesign I updated the setup. Pretty big change but worth it.

    On a related note, maybe it would be a good idea to drop state from the component and control it from outside. This would allow us to go stateless style (function) and keep the component even simpler.

  8. bebraw commented on Dec 5, 2016

    @bebraw
    Owner

    I ended up going stateless as that was a simple change to do. Easier code as well now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions