We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4c07a39 + 04a7217 commit b812a60Copy full SHA for b812a60
src/components/ProjectInfo/ProjectInfo.jsx
@@ -61,7 +61,14 @@ class ProjectInfo extends Component {
61
project={project}
62
currentMemberRole={currentMemberRole}
63
duration={duration}
64
- descLinesCount={matches ? 4 : Infinity}
+ descLinesCount={
65
+ /* has to be not too big value here,
66
+ because the plugin will make this number of iterations
67
+ see https://github.com/ShinyChang/React-Text-Truncate/blob/master/src/TextTruncate.js#L133
68
+ too big value may cause browser tab to freeze
69
+ */
70
+ matches ? 4 : 1000
71
+ }
72
onChangeStatus={onChangeStatus}
73
isSuperUser={isSuperUser}
74
showLink
0 commit comments