-
-
Notifications
You must be signed in to change notification settings - Fork 827
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
[Feature] Drop Label Optional #1000
Comments
I'm not sure what you mean, but if you want to hide the drop label but retain its domrect you could try setting |
Hi-thanks for responding.
If you set the visibility, then the label still takes up space and messes
with the layout.
If you set display:none, when you remove added files, other elements in
Filepond overlap with other elements below it messing up the layout.
The only way we could manage to do it was :
.filepond--panel-root {
background: none !important;
/* display:none !important */
}
.filepond--drop-label {
display:none !important
}
I thought it would be nicer if there was just a flag that one could set.
But the above works.
Thanks
…On Wed, Sep 4, 2024 at 8:37 AM Rik ***@***.***> wrote:
I'm not sure what you mean, but if you want to hide the drop label but
retain its domrect you could try setting visibility:hidden or opacity:0
on the .filepond--drop-label element with CSS.
—
Reply to this email directly, view it on GitHub
<#1000 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACA6J2NJB2J2FO7DNO7XLW3ZU22B5AVCNFSM6AAAAABNS557H2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRYGEZTIMZTGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I recently needed a way to hide the drop label and its domrect and the way I do it is by adding this CSS. It kind of messes up the animation a bit I think but it works fine. .filepond--drop-label {
min-height: 16px !important;
}
.filepond--drop-label * {
display: none;
} |
Thanks. I tried this way and it works as well:
All in all, it would be nicer if we had an intrinsic solution within Filepond. |
Is there an existing issue for this?
Is your feature request related to a problem? Please describe.
The Drop label interferes with a lot of UI issues if one wants to create a custom upload with Filepond
Describe the solution you'd like
Make the Drop Label an optional feature which can be removed without affecting the layout
Describe alternatives you've considered
Just that it would be nicw the Drop Label can be removed.
The text was updated successfully, but these errors were encountered: