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: fix Button findDOMNode error #48830

Merged
merged 7 commits into from
May 10, 2024

Conversation

wanpan11
Copy link
Contributor

@wanpan11 wanpan11 commented May 8, 2024

中文版模板 / 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
  • Workflow
  • Other (about what?)

🔗 Related issue link

fix #48809

💡 Background and solution

Button 组件点击时 WaveEffect 组件没有使用 setNodeRef

📝 Changelog

Language Changelog
🇺🇸 English fix Button findDOMNode error
🇨🇳 Chinese 修复 Button 组件 findDOMNode 报错

☑️ Self-Check before Merge

⚠️ Please check all items below before requesting a reviewing. ⚠️

  • 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

Copy link

stackblitz bot commented May 8, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link
Contributor

github-actions bot commented May 8, 2024

Preview is ready

Copy link
Contributor

github-actions bot commented May 8, 2024

👁 Visual Regression Report for PR #48830 Passed ✅

🎯 Target branch: master (fec2132)
📖 View Full Report ↗︎

🎊 Congrats! No visual-regression diff found.

Copy link

codesandbox-ci bot commented May 8, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Copy link

codecov bot commented May 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (300ec22) to head (2cfe693).
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##            master    #48830   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          746       746           
  Lines        12994     12994           
  Branches      3411      3411           
=========================================
  Hits         12994     12994           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@li-jia-nan
Copy link
Member

加个测试用例吧

wanpan11 and others added 3 commits May 9, 2024 13:30
Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: Wanpan <wanpan96@163.com>
@wanpan11
Copy link
Contributor Author

wanpan11 commented May 9, 2024

现在可以了

image

@zombieJ zombieJ self-assigned this May 10, 2024
@zombieJ zombieJ merged commit c3cf0de into ant-design:master May 10, 2024
61 checks passed
@wanpan11 wanpan11 deleted the button-findDOMNode branch May 10, 2024 02:56
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.

[Button] Button-findDOMNode
4 participants