You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using UploadCollection and UploadCollectionItem do display uploaded document and processing state that is updated.
First render is always ok but after few updates some items can be missing at top of list - UploadCollectionItem is there but with height 0.
In your example a React state was mutated which is not supported, but even with a fix the issue is still occuring. I've noticed that when updating all items every time the component rerenders, the issue is fixed, but since React keys should be stable, this is an anti-pattern and should probably only treated as workaround until a fix is available.
The issue is easily visible in the provided sample.
After few re-arrangements of the UploadCollection, an item is being 'hidden' visually (height is being 1px due to height: auto);
Describe the bug
We are using UploadCollection and UploadCollectionItem do display uploaded document and processing state that is updated.
First render is always ok but after few updates some items can be missing at top of list - UploadCollectionItem is there but with height 0.
Isolated Example
https://stackblitz.com/edit/github-ruuxpbux?file=src%2FApp.tsx
Reproduction steps
Run example in stackblitz.com and wait for some updates (every 5s)
Expected Behaviour
All items should be always in list
Screenshots or Videos
UI5 Web Components for React Version
2.8.1
UI5 Web Components Version
2.8.0
Browser
Chrome
Operating System
Win11
Additional Context
No response
Relevant log output
Organization
No response
Declaration
The text was updated successfully, but these errors were encountered: