Skip to content

Add a "hold" before and after Swipe #793

@bluespheal

Description

@bluespheal

Describe the feature

The Swipe action can sometimes be used in elements that hold onto some momentum, this is great if you want to get to the end of such elements, but in case you want to check each individual element, the current swipe is insufficient.

My suggestion is to have the ability to add a hold timer for the Swipe action, that is; to click and hold the action before and/or after the swipe action starts/ends, all without losing "contact with the screen", this is separate from the speed and duration of the actual swipe.

My suggestion is to have this hold be either in the beginning (some elements need to be held for a bit first) and/or in the end (to stop the momentum in carousels or lists that can hold onto momentum from a swipe).

Describe the usage

This comes from a specific use where I want to check items in a scroll list that can hold onto momentum, thus I need to stop any action for the check every time I scroll the list down a bit, however, in its current implementation, the Swipe action is not sufficient due to the following scenarios. (although there are some unintuitive, unreliable work-arounds)

I swipe too fast; thus the issue arises, the list keeps momentum and skips several items.

I swipe too slow; does solve the issue but it takes way too long, and it's somewhat unreliable as the momentum can sometimes stack.

I swipe too fast and then use a "Click" action to stop, also somewhat unreliable as the click may not always stop the momentum, what's more, the click may also click on an on-screen element.

I swipe too fast and then swipe again in a perpendicular direction of the list's direction; this has been the most reliable work-around, but it is still not perfect, as the second swipe needs to be well-aligned to not scroll further or backwards, and it can sometimes register as a click anyways.

I would imagine a hold would solve this issue and likewise solve other issues like certain elements needing a bit of a hold before you can swipe them, below is an illustration along a description of what happens in the Swipe action:

Image
  • First, there is a hold action at the top position for 1 second (1000 ms)
  • Then the swipe action triggers, this is without the "touch" action ever disconnecting from the screen, the duration of the swipe is also 1 second.
  • Finally, the "touch" arrives at the bottom position, the touch is held for 1 second before the action finishes, thus releasing the "touch" from the screen.
  • In total, the whole action lasted 3 seconds

Is it a duplicate?

  • There is no duplicates

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions