pqina / filepond

🌊 A flexible and fun JavaScript file upload library
https://pqina.nl/filepond
MIT License
15.25k stars 828 forks source link

[Bug] Can't scroll over filepond container on mobile when allowReorder is enabled #865

Open alexandros-bantzos opened 2 years ago

alexandros-bantzos commented 2 years ago

Is there an existing issue for this?

Have you updated FilePond and its plugins?

Describe the bug

The the option allowReorder is enabled, you can't swipe up/down on mobile. the moment you touch the screen in the area, filepond will attempt to "grab" the image.

If you have filepond full width on mobile and select many photos that cover the most part of the screen, you are then unable to scroll up/down the page.

Tested on vanilla Js and jQuery.

Reproduction

Any basic implementation of filepond with allowReorder and the preview plugin (to take up more space) should do. Reproducible even on latest desktop chrome on mobile view via devtools.

Environment

- Device: Desktop / Samsung Galaxy A40
- OS: Windows 11 / Android 11
- Browser: Brave (Chromium 106.0.5) / Firefox Focus
alexandros-bantzos commented 1 year ago

Any update on this one?

rikschennink commented 1 year ago

No really, I'd just not make it full-width on mobile for now.

I'm working on v5 in which I hope to address most of the current open issues.

mrkazmierczak commented 1 year ago

@rikschennink FilePond v5 will be backward compatible?

rikschennink commented 1 year ago

It's a major version change so no there will be breaking changes.

I plan to release some sort of proxy wrapper to make switching from 4 to 5 easier.