Experience-Monks / Experience-Monks/touch-scroll-physics

Custom gutter boundaries

Open
#3 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
76
Forks
7
PR merge metrics
No merged PRs in 30d

Description

What do you think of adding API support for custom boundary positions? I.e. instead of the gutters starting at 0 and `contentSize - viewportSize`, they could start at user defined positions.

I'm thinking this could be useful for "pull to refresh" functionality (when the scroll is below, for instance, -100, user could lock both boundaries at -100 such that the gutter remains showing, do the refresh, then reset the boundaries as they were before)

Probably relates to #2 as far as API is concerned? Though not exactly sure what you meant there

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.