Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ export const LimitedItemsList = ({
))}
{shouldTruncate ? (
remainingItems.length === 1 ? (
<Text as="span">{remainingItems[0]}</Text>
<>
<Text as="span">{separator}</Text>
Copy link
Contributor Author

@alkismavridis alkismavridis Jul 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I find it weird that line 64 does not give the separator already. The condition on line 63 should be true 🤔
When I manager to run it locally I will be able to dive deeper into the issue.

EDIT:
Is it possible that this is already fixed after 3.0.1? The code seems right.
If so I am really sorry for the trouble and will close this PR.

<Text as="span">{remainingItems[0]}</Text>
</>
) : (
<Tooltip content={remainingItemsList} interactive={interactive}>
<Text as="span" cursor="help">
Expand Down