-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Implement lockScrollTimeout #260
Conversation
Gives the implementation more control over the lock duration
Hi @mkuczera, Thanks for the PR, but it shouldn't be needed. The 1 second timeout is a safety measure just in case something goes wrong (which happens sometimes on Android in debug mode). If no particular issue arises, the lock will be released as soon as an item has been snapped to (see lines 743-755). |
Hi @bd-arc , |
Hey @mkuczera, Be aware that if you implement a shorter timeout you might experience unwanted side effects ( Still, I definitely understand your need. One day (#203), we might not need all those hacks... For now, I'm ok to merge this but as an undocumented feature. I don't want users to use this prop without understanding what's at stake; they would end up opening issue after issue. Can you push another PR that includes only your changes to |
Hi, thanks for your feedback. I removed the Docs Hint for this Prop. |
@mkuczera Thanks but, as I said, I would prefer if you could create a new fork and a new PR with only one commit ;-) (I want to keep the commit history clean and to avoid the revert ones) |
@mkuczera Prop |
Gives the implementation more control over the lock duration