-
Notifications
You must be signed in to change notification settings - Fork 79
Open
Labels
Description
I'm using a pretty simple version inside a Card component. The card is rendered for however many are in the array. for example 10.
<div className={'Cards-cardText'}>
<LinesEllipsis
text='hello'
maxLine={3}
basedOn='letters'
/>
</divAnd at the body, level, I'm getting 10 of these.
<div class="LinesEllipsis-canvas " aria-hidden="true" style="box-sizing: content-box; width: 615px; font-size: 12px; font-weight: 400; font-family: "Helvetica Neue", Arial, Helvetica, Verdana, sans-serif; font-style: normal; letter-spacing: normal; text-indent: 0px; white-space: normal; word-break: normal; overflow-wrap: normal; padding: 0px; position: absolute; bottom: 0px; left: 0px; height: 0px; overflow: hidden; border: none;">
<span class="LinesEllipsis-unit">h</span>
<span class="LinesEllipsis-unit">e</span>
<span class="LinesEllipsis-unit">l</span>
<span class="LinesEllipsis-unit">l</span>
<span class="LinesEllipsis-unit">o</span>
</div>What the heck am I doing wrong?
Reactions are currently unavailable