-
-
Notifications
You must be signed in to change notification settings - Fork 49.8k
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
demo: add tooltip disabled demo #45748
Conversation
Run & review this pull request in StackBlitz Codeflow. |
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. Latest deployment of this branch, based on commit bc0e91b:
|
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #45748 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 700 700
Lines 11828 11828
Branches 3153 3153
=========================================
Hits 11828 11828 ☔ View full report in Codecov by Sentry. |
components/tooltip/demo/disabled.md
Outdated
@@ -1,7 +1,7 @@ | |||
## zh-CN | |||
|
|||
Disabled 子元素。 | |||
禁用 Tooltip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
禁用 Tooltip | |
通过设置 `title=""` 可以禁用 Tooltip。 |
components/tooltip/demo/disabled.md
Outdated
|
||
## en-US | ||
|
||
Disabled Tooltip. | ||
The Tooltip can be disabled by setting title="". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Tooltip can be disabled by setting title="". | |
The Tooltip can be disabled by setting `title=""`. |
components/tooltip/demo/disabled.md
Outdated
|
||
## en-US | ||
|
||
Disabled Tooltip. | ||
The Tooltip can be disabled by setting title="". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Tooltip can be disabled by setting title="". | |
The Tooltip can be disabled by setting `title=""`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done~
[中文版模板 / Chinese template]
🤔 This is a ...
🔗 Related issue link
💡 Background and solution
📝 Changelog
☑️ Self-Check before Merge
🚀 Summary
🤖 Generated by Copilot at be64547
This pull request adds a new demo
disabled-children.tsx
to the tooltip component, which shows how to disable the tooltip for the wrapped children elements. It also updates the existing demodisabled.tsx
and its documentation to clarify the difference between disabling the tooltip itself and disabling the tooltip for the wrapped children elements.🔍 Walkthrough
🤖 Generated by Copilot at be64547
disabled-children.tsx
and its documentation to show how to disable the tooltip for the wrapped children elements using theWrapperTooltip
component (link, link, link, link)disabled.tsx
and its documentation to clarify that it shows how to disable the tooltip itself, not the wrapped children elements, and to simplify the code using a button and a span (link, link, link, link)