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 support multi children, close: #3924 #4105

Merged
merged 1 commit into from Dec 2, 2016
Merged

Conversation

benjycui
Copy link
Contributor

@benjycui benjycui commented Dec 2, 2016

Close: #3924

image

@mention-bot
Copy link

@benjycui, thanks for your PR! By analyzing the history of the files in this pull request, we identified @liqi07, @plandem and @yesmeck to be potential reviewers.

@yesmeck
Copy link
Member

yesmeck commented Dec 2, 2016

这样可以吗:

<Tooltip title="foo">
  <p>1</p>
  <p>2</p>
</Tooltip>

@coveralls
Copy link

Coverage Status

Coverage increased (+0.02%) to 76.661% when pulling 5c5a05380026117d969f061768737106638e0dc9 on fix-tooltip into 3802f08 on master.

@benjycui
Copy link
Contributor Author

benjycui commented Dec 2, 2016

可以且无 warning。

@@ -18,7 +18,7 @@ import { Tooltip } from 'antd';

ReactDOM.render(
<Tooltip title="prompt text">
<span>Text will show when mouse enter.</span>
<strong>Tooltip</strong> will show when mouse enter.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

文档里可以不体现,避免 copy 之后的错误。

@benjycui
Copy link
Contributor Author

benjycui commented Dec 2, 2016

Updated.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.02%) to 76.642% when pulling 2a063ce on fix-tooltip into d2918d2 on master.

@afc163 afc163 merged commit a939769 into master Dec 2, 2016
@afc163 afc163 deleted the fix-tooltip branch December 2, 2016 07:07
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.

None yet

5 participants