Skip to content

Commit a426cca

Browse files
authored
Merge pull request #23396 from ahmedGaber93/issue-22951
fix MultipleAvatars.js remainding users tooltip text
2 parents 6e6d2bd + c252504 commit a426cca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/MultipleAvatars.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,8 @@ function MultipleAvatars(props) {
209209
))}
210210
{avatars.length > props.maxAvatarsInRow && (
211211
<Tooltip
212-
// We only want to cap tooltips to only the first 10 users or so since some reports have hundreds of users, causing performance to degrade.
213-
text={tooltipTexts.slice(3, 10).join(', ')}
212+
// We only want to cap tooltips to only 10 users or so since some reports have hundreds of users, causing performance to degrade.
213+
text={tooltipTexts.slice(avatarRows.length * props.maxAvatarsInRow - 1, avatarRows.length * props.maxAvatarsInRow + 9).join(', ')}
214214
>
215215
<View
216216
style={[

0 commit comments

Comments
 (0)