-
Notifications
You must be signed in to change notification settings - Fork 464
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
Support for Automatic Direction #102
Comments
hey thanks for the suggestions. instead of adding two new scrolling modes, how about if i add a new preferredScrollingDirection that mirrors the delta change? e.g. if the change is positive, it'll scroll down, otherwise it'll scroll up. |
@jinatonic I think currently the library is handling each column individually. Would the new |
yes each column scrolls individually. can you clarify on what you mean by "whole number scrolling together based on change"? |
@jinatonic then under the new |
hey sorry for the late followup, I totally forgot about this. in your example, each digit will simply scroll to the target number directly, e.g. 1 -> 2, 2 -> 1. if you have a set preferred scrolling direction (e.g. down), then 1 -> 2, but 2 -> 3 -> 4 -> ... -> 9 -> 0 -> 1. does that make sense? |
Thanks for this amazing library.
This is potentially a feature request for adding two new scrolling direction modes:
AUTO_ASC
andAUTO_DESC
They are all based on if the newer text is greater or less than the current one.For
AUTO_ASC
mode, ideally it would work like this:if the original text is number of
1234
and the new one is1243
, since the value of new text is greater than the old text, it would scrolling downSimilarly for
AUTO_DESC
mode, it would scroll up.Would this feature be nice to have or we already have something similar?
The text was updated successfully, but these errors were encountered: