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

Add ‘reorderHoldInterval’ option for Long Press Reordering #940

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 16, 2023

  1. Add ‘reorderHoldInterval’ option for Long Press Reordering

    The `reorderHoldInterval` option allows people to opt-into “long press” / “press and hold” on a file to reorder. This feature is disabled by default, and there are no backwards compatibility issues.
    
    Currently, on small touch-screen devices the native scroll experience can be hijacked by the reorder feature. Enabling “long press” to reorder dramatically improves the UX for these users.
    
    **Usage***
    ```js
    FilePond.create(inputElement, {
        allowMultiple: true,
        allowReorder: true,
        reorderHoldInterval: 100,
    });
    ```
    
    Resolves pqina#865
    jakejackson1 committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    c68d743 View commit details
    Browse the repository at this point in the history