Skip to content
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

distinguish "toBottom" and 'toBottom with bottom-threshold","totop" and 'toBottom with top-threshold" #411

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

masongzhi
Copy link

@masongzhi masongzhi commented Jul 14, 2023

What kind of this PR? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Build-related changes
  • Other, please describe:

Other information:
when i want to use toBottom for css style,and want to set bottom-threshold to load more data;and then this two case use same event. toBottom,it puzzled me;

因为ios会有弹性滚动的功能,如果bottom-threshold是0,则一直滚动是不会处罚toBottom的,所以我加了bottom-threshold为50,但是这又会影响我css触发到底部的样式,所以我拆分成2个event

feat(master): toThresholdTop and bottomThreshold

feat(master): toThresholdTop and bottomThreshold

feat(master): toThresholdTop and bottomThreshold
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant