Skip to content

Feature request: allow slow panning without snap #4

Description

@alextekartik

Hi and thank you for your plugin. I'm currently using it in the horizontal list scenario to display a scrollable chart by day (from 12 am to 12 am the next day). It is great to scroll and snap by day however i have the 2 following needs:

  • display the last 24h on start (not the full last day, could be from 11am to 11am the next day)
  • allow slow panning when moving slowly the finger in a day to allow displaying from 6am to 6am the next day for example without snapping automatically from 12am to 12am when releasing the finger.

Basically I'd like to snap to a day after a fast scroll gesture but snap to the hour (or no snap) for slow gesture, and I'd like to allow custom scroll position (on start and on demand to jump to a day). Is that something that could be done either in your component or as a separate widget or that you could consider as a feature request (or not).

Or maybe we could define different 'snap point' dynamically to snap by child item or a division in the child item depending on the initial scroll speed (snap by year, month, day, hour).

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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