vaadin / collaboration-engine

The simplest way to build real-time collaboration into web apps
https://vaadin.com/collaboration
Other
3 stars 1 forks source link

AvatarGroup's setMaxItemsVisible ignored sometimes #59

Open wfischlein opened 2 years ago

wfischlein commented 2 years ago

Describe the bug AvatarGroup with 'setMaxItemsVisible' to e.g. 5 ends up displaying like

image

(which is only 4)

To Reproduce • Checkout, build and run https://github.com/wfischlein/collabbug2 • In your favourite Browser open 5 tabs on localhost:8080 • Reload the tab you have open and see: looks good, 5 avatars shown • Press one of the 'Here' buttons, then the one with the most avatars See that only four avatars are shown, one of them is '+2'

Expected behavior expected: show 5 like this:

image

Versions