-
Notifications
You must be signed in to change notification settings - Fork 264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ui5-upload-collection]: drag and drop overlay is overflowing #9975
Comments
Hello @tkeiner , Please provide isolated reproducible example. Best Regards, |
Hello @LidiyaGeorgieva, In order to replicate the bug, there needs to be only a single item in the collection. Like this: <ui5-upload-collection>
<ui5-upload-collection-item file-name="LaptopHT-1000.jpg" upload-state="Complete">
uploadState="Complete"
<img src="https://sap.github.io/ui5-webcomponents/nightly/images/HT-1000.jpg" slot="thumbnail">
</ui5-upload-collection-item>
</ui5-upload-collection> I think in the example you provided the bug is not occuring because of the long description that breaks into a second line and by that increasing the height of the item. In https://sap.github.io/ui5-webcomponents/nightly/components/fiori/UploadCollection/#upload-states you can see that icon and text overflow if there is only one attachment. Kind regards, Tobias |
Hello Hello @SAP/ui5-webcomponents-topic-rd please have a look. |
…oo small According to the design: The icon should be displayed only when the height of the Drag enabled container is more than 10rem. fixes: #9975
Bug Description
If the collection height is small because only one attachment was uploaded, and then a file is dropped into the upload collection, the drag and drop overlay will overflow the component.
Affected Component
ui5-upload-collection
Expected Behaviour
Icon and text should not overflow.
Isolated Example
No response
Steps to Reproduce
No response
Log Output, Stack Trace or Screenshots
No response
Priority
None
UI5 Web Components Version
2.2.0
Browser
Chrome
Operating System
No response
Additional Context
No response
Organization
No response
Declaration
The text was updated successfully, but these errors were encountered: