Skip to content
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

Open
1 task done
hn1 opened this issue Sep 3, 2024 · 4 comments
Open
1 task done

[Feature] Drop Label Optional #1000

hn1 opened this issue Sep 3, 2024 · 4 comments

Comments

@hn1
Copy link

hn1 commented Sep 3, 2024

Is there an existing issue for this?

  • I have searched the existing issues

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.

@rikschennink
Copy link
Collaborator

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.

@hn1
Copy link
Author

hn1 commented Sep 4, 2024 via email

@viyic
Copy link

viyic commented Sep 5, 2024

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;
}

@hn1
Copy link
Author

hn1 commented Sep 5, 2024

Thanks. I tried this way and it works as well:

 .filepond--panel-root {
     background: none !important;
 }
 
  .filepond--drop-label {
    display:none !important
 }

All in all, it would be nicer if we had an intrinsic solution within Filepond.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants