react-multiline-clamping icon indicating copy to clipboard operation
react-multiline-clamping copied to clipboard

maxLines default value

Open jasbindar-singh opened this issue 2 years ago • 1 comments

Problem: I have a use case where I want to show the whole string when the user clicks on Show More cta but maxLines prop default value caps it to 8 lines. Temporary solution: I have a huge value on maxLines prop for now to fix that but it somehow seems very hacky Question: Is there any other way I could achieve that like without having to specify a huge number for maxLines prop value

jasbindar-singh avatar May 23 '22 14:05 jasbindar-singh