-
Notifications
You must be signed in to change notification settings - Fork 7.2k
Add firstStepDeceleration prop in scrollOverflowOptions
#3217
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
base: dev
Are you sure you want to change the base?
Conversation
Merging dev branch 2.9.7
Hot fixing minified version of scrollOverflow
- Adding iScroll license in the minified file of scrollOverflow
firstStepDecelerationfirstStepDeceleration in scrollOverflowOptions
firstStepDeceleration in scrollOverflowOptions firstStepDeceleration prop in scrollOverflowOptions
|
Thanks for that!
I can't seem to reproduce it here: Are you talking about sliding with the mouse wheel and trackpad? Or about touch devices? |
|
Ok, thanks for your example, your example is enough for me. If i am a coder, i know first section is fullpage, the second section is overflow, i maybe sliding my finger not hard when i enter the second section. But if i am a user, i dont know the second section is overflow, i just know sliding my finger hard because human's thinking is linear. If i sliding hard when i at second section, this section is scroll so fast that sometimes i cant see the content clearly. If i add |
|
Are you talking about sliding with the mouse wheel and trackpad? Or about touch devices? |
|
It is touch device, just iphone 8 plus. |
|
I was playing a bit with this but I was not able to notice any difference. |
1- Make sure to commit it to the
devbranch!2- Read https://github.com/alvarotrigo/fullPage.js/wiki/Contributing-to-fullpage.js
If i use
scrollOverflowproperty, some sections maybe overflow if sections larger than viewport height, but other sections maybe not overflow. if i slide from section which is not overflow to section which is over flow, the speed of first roll is too fast at overflow section, because people maybe do not know this section is overflow if he slide forcefully. if i usefirstStepDecelerationproperty, it may be more smoothly.