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

fix(cdk:scroll): the onScrolledBottom is not triggered #1535

Merged
merged 1 commit into from Apr 13, 2023

Conversation

danranVm
Copy link
Member

PR Checklist

Please check if your PR fulfills the following requirements:

  • The commit message follows our guidelines
  • Tests for the changes have been added/updated or not needed
  • Docs and demo have been added/updated or not needed

What is the current behavior?

某些情况下(例如浏览器缩放), 会导致 scrollTop 出现小数,newScrollTop 始终小于 maxScrollHeight
所以对 newScrollTop 进行了向上取整,避免此种情况的出现。

What is the new behavior?

Other information

@idux-bot
Copy link

idux-bot bot commented Apr 13, 2023

This preview will be available after the AzureCI is passed.

@danranVm danranVm merged commit cee4685 into IDuxFE:main Apr 13, 2023
2 of 4 checks passed
@danranVm danranVm deleted the fix-cdk-scroll branch April 17, 2023 07:32
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.

None yet

1 participant