-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lines display incorrectly with hyphenated words #54
Comments
We could consider treating hyphenated words as separate words. There is some nuance here though. I am not sure if the hyphen should be considered a separate word or if the hyphen should end up on the first word. WDYT @shshaw ? |
That's a good point. I ended up replacing each hyphen with |
@kjbrum How did you do this? Looking for a solution :) |
@Gbillington1 You can find an iteration of my final solution here. I believe I had to make some adjustments after I implemented it into my project, but it should help a bit. |
Thanks! @kjbrum |
Hyphenated words get treated as a single word (which makes sense), but this can cause the second part of the word to break to a new line and causes issues when animating.
Example of the behavior can be seen here: https://codepen.io/kjbrum/pen/jOEoNMx
The text was updated successfully, but these errors were encountered: