pablosichert/react-truncate
React component for truncating multi-line spans and adding an ellipsis.
JavaScriptISC
Issues
- 2
Allow passing in font style overrides?
#97 opened by JoshuaKGoldberg - 2
wrong width of span on load
#148 opened by yesh - 10
Can't add as dependency in React 18
#155 opened by mansisindhu - 0
Wrong line breaks
#161 opened by noahsol30 - 8
<br> tags being added to truncated lines
#112 opened by macsplan - 1
React 18 support
#153 opened by natarius - 1
New release
#151 opened by no23reason - 5
Update to React 17
#144 opened by Chase-Dickerson - 5
ComponentWillUnmount ellipsis removal fails in test suites and other situations
#128 opened by kevinparkerson - 3
Jest: Can not test onTruncate method
#142 opened by Kazimirkas - 3
Cannot set property 'font' of undefined
#131 opened by rgevorgyan-vineti - 0
deleted
#147 opened by justbitdev - 3
Wrong truncation with flexbox
#90 opened by 5erban - 0
- 2
React v17 support
#139 opened by superpav - 3
- 1
In jest tests - the ellipsis always show, regardless of whether it truncates.
#132 opened by dwjohnston - 0
Truncate get error on 'width' prop when my app still work in another tab like keep-alive component
#137 opened by Sindr0me - 0
Ellipsis not shown when text is only one word
#135 opened by BrodaNoel - 2
truncating text with wrong width
#96 opened by jalalat - 2
Test failed with: Cannot set property 'font' of null
#111 opened by bipsBro - 3
- 1
ellipsis still display when text isn't too long
#127 opened by longld-0832 - 2
Maintenance status?
#116 opened by fgblomqvist - 0
3rd party device recognition is blocking usage
#113 opened by omrimor - 0
preserve newlines could be an option?
#110 opened by kud - 0
<b> tags are stripped onTruncate
#109 opened by lafeer - 6
- 2
Chinese text not supported
#107 opened by Ktchan825 - 2
- 1
div invalid child of p
#103 opened by afrankel-sfdo - 0
Package does not work when built and used
#104 opened by chetangawai - 2
- 0
Webpackbin link is down
#102 opened by JoeDuncko - 1
- 2
- 7
Compile command doesn't work on Windows
#98 opened by JoshuaKGoldberg - 3
font-weight is ignoring by canvas in IE11
#93 opened by NikolaMaster - 5
Forcing recalculation without a window resize
#89 opened by chacestew - 2
- 0
- 1
Does not collapse on initial page load even though expanded is set to false
#84 opened by nupurkapoor - 2
- 1
React Native compatbility
#91 opened by JesusTheHun - 4
Call onTruncate when element is resized
#76 opened by sventies - 0
Isn't working with react 16.2
#87 opened by barmaglot92 - 1
failed when the sentence dose not contain spaces
#82 opened by orlowang - 1
Truncate link not visible to screenreaders
#81 opened by samzhang111 - 3
- 0
Compatibility with React Router v4
#74 opened by jwohlfert23