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

feat(trigger): add scroll to close distance #2685

Merged
merged 1 commit into from
Sep 22, 2023

Conversation

oljc
Copy link
Member

@oljc oljc commented Sep 4, 2023

Types of changes

  • New feature
  • Bug fix
  • Enhancement
  • Component style change
  • Typescript definition change
  • Documentation change
  • Coding style change
  • Refactoring
  • Test cases
  • Continuous integration
  • Breaking change
  • Others

Background and context

Issues #2678
PR #2679

Solution

如果开启了scrollToClose则滚动时记录下初始位置当滚动距离达到阈值时触发关闭。

How is the change tested?

Changelog

Component Changelog(CN) Changelog(EN) Related issues
trigger 增加滚动关闭阈值 add scroll to close distance Close #2678 , Close #2679

Checklist:

  • Test suite passes (npm run test)
  • Provide changelog for relevant changes (e.g. bug fixes and new features) if applicable.
  • Changes are submitted to the appropriate branch (e.g. features should be submitted to feature branch and others
    should be submitted to main branch)

Other information

@flsion flsion merged commit 1fe487d into arco-design:main Sep 22, 2023
2 of 4 checks passed
@oljc oljc deleted the trigger-scroll-distance branch February 2, 2024 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants