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: Stable popup align #362

Merged
merged 3 commits into from
Apr 10, 2023
Merged

feat: Stable popup align #362

merged 3 commits into from
Apr 10, 2023

Conversation

zombieJ
Copy link
Member

@zombieJ zombieJ commented Apr 10, 2023

弹层翻转后,如果后续调整位置同时满足 原位置 和 翻转位置 都放得下,则保持 翻转 以减少跳跃。

fix ant-design/ant-design#41728

@codecov
Copy link

codecov bot commented Apr 10, 2023

Codecov Report

Merging #362 (cd64335) into master (ff874e3) will increase coverage by 0.11%.
The diff coverage is 100.00%.

❗ Current head cd64335 differs from pull request most recent head cca3e3b. Consider uploading reports for the commit cca3e3b to get more accurate results

@@            Coverage Diff             @@
##           master     #362      +/-   ##
==========================================
+ Coverage   95.86%   95.98%   +0.11%     
==========================================
  Files          11       11              
  Lines         605      622      +17     
  Branches      179      184       +5     
==========================================
+ Hits          580      597      +17     
  Misses         25       25              
Impacted Files Coverage Δ
src/hooks/useAlign.ts 95.19% <100.00%> (+0.38%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@zombieJ zombieJ merged commit 076e070 into master Apr 10, 2023
@zombieJ zombieJ deleted the dynamic-height branch April 10, 2023 09:18
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.

Select 弹层体验问题
1 participant