I'm trying to get Filepond working, but this one line in my CSS seems to break it - overflow: hidden;
within a ul selector.
I tried nuking entire sections of my page until Filepond worked, zeroed in on the css, and finally the aforementioned line within ul {}. I can wipe out everything else, leaving only that line, and Filepond's still broken, so I'm certain it's somehow the problem, but I don't have a clue how.
I tried using Chrome's Inspector feature to look at the run-time page source, and couldn't find overflow there.
Then I used Notepad++'s search-in-files function to thoroughly search the Filepond files for "overflow" but couldn't find it in conjunction with ul. The closest I could get was a const named list in the JS file. Somehow, I don't think that's related, but idk why. Will add the code for it here if requested.
Interestingly, overflow shows up a couple times in the changelog, once saying it fixed a "problem where list overflow would not render correctly." (v 2.2.1)
Chrome v73 (up to date) Filepond last updated 4/15/19
filepond_problem.html
<!DOCTYPE html>
<html lang="en">
<head>
<title>Filepond Problem</title>
<meta charset="utf-8">
<link rel="stylesheet" href="problem.css"> <!--remove this line and it works-->
<link rel="stylesheet" type="text/css" href="filepond/dist/filepond.css">
<script src="filepond/dist/filepond.js"></script>
</head>
<body>
<input type="file" mutliple/>
<script>
// Get a reference to the file input element
const inputElement = document.querySelector('input[type="file"]');
// Create the FilePond instance
const pond = FilePond.create(inputElement);
</script>
</body>
</html>
problem.css (in a small file from my partner)
ul {
overflow: hidden;
}
When I choose a file to upload, whether drag/dropping, or using the Browse dialog box, all it does is removes "drag & drop your files or browse." It doesn't show my file, no x to remove it, nothing. It just becomes an empty, light grey box.
When you remove the line including problem.css, it acts as portrayed on their site. Well, minus the thumbnail, but that's expected, as I haven't enabled that yet.