Skip to content

doesn't work with hyphen (minus) and parentheses #93

@nkbartc

Description

@nkbartc

Hi team, thanks for this amazing library!

I would like to report there are issues with hyphen (minus) and parentheses. Any input after a hyphen or a number of ( and ) will cause next line unexpectedly. Please see the screen shots. I found these issues in my own project which tries to fit text in a div instead of a textbox. But I also found the same issues exist in your demo. (https://malte-wessel.com/react-textfit/). Any help will be much appreciated!!

image
image
image

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