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: tooltip not effect on disabled element #43872

Merged
merged 4 commits into from Jul 28, 2023
Merged

fix: tooltip not effect on disabled element #43872

merged 4 commits into from Jul 28, 2023

Conversation

zombieJ
Copy link
Member

@zombieJ zombieJ commented Jul 28, 2023

[中文版模板 / 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 #43841

💡 Background and solution

📝 Changelog

Language Changelog
🇺🇸 English Fix Tooltip hover not trigger on disabled element.
🇨🇳 Chinese 修复 Tooltip hover 无法在 disabled 元素上触发的问题。

☑️ 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

🚀 Summary

🤖 Generated by Copilot at decf154

This pull request enhances the tooltip component by adding a new demo for disabled elements and updating the documentation in both English and Chinese. It also updates the @rc-component/trigger dependency to the latest version.

🔍 Walkthrough

🤖 Generated by Copilot at decf154

  • Add disabled tooltip demo and documentation (link, link, link, link)
  • Update tooltip child node events to include pointer events for touch devices (link, link)
  • Upgrade @rc-component/trigger dependency for tooltip component (link)

@stackblitz
Copy link

stackblitz bot commented Jul 28, 2023

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

@github-actions
Copy link
Contributor

github-actions bot commented Jul 28, 2023

@github-actions
Copy link
Contributor

github-actions bot commented Jul 28, 2023

size-limit report 📦

Path Size
./dist/antd.min.js 382.43 KB
./dist/antd-with-locales.min.js 441.98 KB

@argos-ci
Copy link

argos-ci bot commented Jul 28, 2023

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
default (Inspect) 👍 Changes approved 1 change Jul 28, 2023, 8:45 AM

@codecov
Copy link

codecov bot commented Jul 28, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (2cdf586) 100.00% compared to head (2056d0c) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##            master    #43872   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          657       657           
  Lines        11076     11076           
  Branches      2996      2996           
=========================================
  Hits         11076     11076           

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

@zombieJ zombieJ merged commit 418f95e into master Jul 28, 2023
88 checks passed
@zombieJ zombieJ deleted the disabled-tooltip branch July 28, 2023 09:39
@vagusX vagusX mentioned this pull request Jul 31, 2023
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.

Tooltip包裹Input, Input disabled时Tooltip失效
3 participants