-
-
Notifications
You must be signed in to change notification settings - Fork 46.9k
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): fix highlighting failure when dynamically updating items #40743
Conversation
Codecov ReportBase: 100.00% // Head: 100.00% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## master #40743 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 606 606
Lines 10289 10287 -2
Branches 2790 2790
=========================================
- Hits 10289 10287 -2
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
来个测试用例? |
一个经典 useEvent 场景 |
看样子是我之前重构 FC 改出问题了…… |
React 的依赖项,还是挺坑的~ |
来个测试用例? |
@MadCcc 求助攻~ |
any update? |
本地试了一下没有问题,先 merge 了,测试用例我单独开个 PR 补一下吧 |
|
Bug 最近很多哦,有很多很表面的bug哟, 注意下代码质量哟 |
…ant-design#40743) * fix(Anchor): fix highlighting failure when dynamically updating items * fix: improve test coverage * refactor(Anchor): use `useEvent` instead
…ant-design#40743) * fix(Anchor): fix highlighting failure when dynamically updating items * fix: improve test coverage * refactor(Anchor): use `useEvent` instead
…ant-design#40743) * fix(Anchor): fix highlighting failure when dynamically updating items * fix: improve test coverage * refactor(Anchor): use `useEvent` instead
[中文版模板 / Chinese template]
🤔 This is a ...
🔗 Related issue link
💡 Background and solution
复现地址
复现步骤:
📝 Changelog
☑️ Self-Check before Merge