Skip to content

fix: hide drop label when at max capacity (#819)#1067

Open
People-Sea wants to merge 1 commit intopqina:masterfrom
People-Sea:fix/issues/819
Open

fix: hide drop label when at max capacity (#819)#1067
People-Sea wants to merge 1 commit intopqina:masterfrom
People-Sea:fix/issues/819

Conversation

@People-Sea
Copy link
Contributor

Fixes #819

When FilePond initializes in a hidden container (display: none) and files are added, the drop label doesn't hide after becoming visible - it overlays the file list and blocks the remove button.

The issue is that label hiding requires atMaxCapacity && addAction. When visibility changes, there's no addAction, so the label stays visible even at max capacity.

Fixed by removing the addAction requirement - now the label hides whenever at max capacity.

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

Successfully merging this pull request may close these issues.

[Bug] Drop label renders on top of file list if element isn't visible on initialization and using compact layout

1 participant