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: Anchor current not changed #37644

Merged
merged 1 commit into from
Sep 20, 2022
Merged

fix: Anchor current not changed #37644

merged 1 commit into from
Sep 20, 2022

Conversation

afc163
Copy link
Member

@afc163 afc163 commented Sep 20, 2022

[中文版模板 / Chinese template]

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / documentation update
  • Demo update
  • Component style update
  • TypeScript definition update
  • Bundle size optimization
  • Performance optimization
  • Enhancement feature
  • Internationalization
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Other (about what?)

🔗 Related issue link

close #37627

💡 Background and solution

📝 Changelog

Language Changelog
🇺🇸 English Fix Anchor getCurrentAnchor not updated.
🇨🇳 Chinese 修复 Anchor getCurrentAnchor 不会及时更新的问题。

☑️ Self-Check before Merge

⚠️ Please check all items below before review. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

@github-actions
Copy link
Contributor

github-actions bot commented Sep 20, 2022

@github-actions
Copy link
Contributor

Size Change: +68 B (0%)

Total Size: 962 kB

Filename Size Change
./dist/antd-with-locales.min.js 373 kB +34 B (0%)
./dist/antd.min.js 316 kB +34 B (0%)
ℹ️ View Unchanged
Filename Size
./dist/antd.compact.min.css 67.5 kB
./dist/antd.dark.min.css 68.8 kB
./dist/antd.min.css 67.5 kB
./dist/antd.variable.min.css 68.1 kB

compressed-size-action

@codecov
Copy link

codecov bot commented Sep 20, 2022

Codecov Report

Merging #37644 (9be3a11) into master (48dfe20) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##            master    #37644    +/-   ##
==========================================
  Coverage   100.00%   100.00%            
==========================================
  Files          443       443            
  Lines         8183      8308   +125     
  Branches      2408      2460    +52     
==========================================
+ Hits          8183      8308   +125     
Impacted Files Coverage Δ
components/anchor/Anchor.tsx 100.00% <100.00%> (ø)
components/table/Table.tsx 100.00% <0.00%> (ø)
components/modal/confirm.tsx 100.00% <0.00%> (ø)
components/modal/ConfirmDialog.tsx 100.00% <0.00%> (ø)
components/table/hooks/useFilter/index.tsx 100.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@afc163 afc163 merged commit a1d86cb into master Sep 20, 2022
@afc163 afc163 deleted the fix/anchor-current branch September 20, 2022 03:06
@MadCcc MadCcc mentioned this pull request Sep 22, 2022
19 tasks
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.

Anchor组件 自定义高亮链接state,并通过组件的clikc和change改变state,存在闭包问题
2 participants