This bug is simply visual, but it’s annoying.
This is a profile with 2+ groups added
There’s all that empty space, and it still cuts off at 2
This is a user with 1 group added
It’s inline, but it still has the …
The point is, if you have 2+ groups, then it cuts off the first row, and still only shows 2. I’m pretty sure this is a bug, but if it isn’t, I think it should use the entire first + second line, and use the 2nd line as an emergency overflow, and also display all of your groups, if impossible showing a “More” button instead of “…”, because … is inconclusive.