Comments (2)
Thanks for reporting @nikeshmhr. We need to check for the number type here. Would you like to create a PR with the fix?
from react-truncate-markup.
Yeah, sure I'll create PR. Thanks @patrik-piskay
from react-truncate-markup.
Related Issues (20)
- onTruncate callback not being called after rendering the ellipsis
- Feature Proposal: support components HOT 1
- Warning when used in tab HOT 1
- Fails to truncate when there is just one long string HOT 2
- White page upon using the translate functionality in the browser. HOT 4
- Stop throwing console warn/error as default. HOT 2
- TypeScript - Property Atom does not exist on type TruncateMarkup HOT 2
- Doesn't work with GoogleTranslate HOT 2
- Fails to truncate with multiple line if children list have too long string to over multi lines. HOT 4
- Module in Ionic show only one letter HOT 4
- Inconsistent lines behavior with bare text vs p vs span HOT 3
- Doesn't detect new line characters. HOT 1
- Suppressing console error logs HOT 5
- Under the flex layout, reducing the width of the parent container results in incomplete truncated content HOT 1
- Flex layout and character tokenizing don't interact as expected without whitespace HOT 1
- Not considering ellipsis width in calculation
- react 18 issue: Type error: No overload matches this call.
- UNSAFE_componentWillReceiveProps warning with react 18 HOT 2
- Dosen't work with dangerouslySetInnerHTML HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-truncate-markup.