Skip to content

Conversation

zombieJ
Copy link
Member

@zombieJ zombieJ commented Apr 3, 2023

当同时开启 overflow & shift 时,会优先寻找最大区域,再进行滚动偏移:

@codecov
Copy link

codecov bot commented Apr 3, 2023

Codecov Report

Merging #350 (9255d2a) into master (a31202a) will increase coverage by 0.70%.
The diff coverage is 100.00%.

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

@@            Coverage Diff             @@
##           master     #350      +/-   ##
==========================================
+ Coverage   94.09%   94.79%   +0.70%     
==========================================
  Files          11       11              
  Lines         593      596       +3     
  Branches      174      174              
==========================================
+ Hits          558      565       +7     
+ Misses         35       31       -4     
Impacted Files Coverage Δ
src/hooks/useAlign.ts 92.03% <100.00%> (+1.90%) ⬆️

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

@zombieJ zombieJ marked this pull request as ready for review April 4, 2023 02:40
@zombieJ zombieJ changed the title [WIP] feat: support both overflow & shift feat: support both overflow & shift Apr 4, 2023
@zombieJ zombieJ merged commit f438cb5 into master Apr 4, 2023
@zombieJ zombieJ deleted the both branch April 4, 2023 02:48
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.

2 participants