-
-
Notifications
You must be signed in to change notification settings - Fork 47.3k
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
Issues with Tooltips in Form Labels since upgrade to 2.8 #5222
Comments
Actually, it works fine, even in your demo. Just make - <Tooltip title="What do you want other to call you?">
+ <Tooltip title="?"> |
hmm... but wont most use cases call for a tooltip with a sentence or sentences rather than a few characters? I guess I'm confused because it was working prior to updating to 2.8. |
I'm trying to track down the issue. This is the same code, same browser. One is 2.7.2 and the other is 2.8: http://g.recordit.co/aDLz03GA9l.gif http://g.recordit.co/fP9vjg1pUB.gif Even my layout seems to shift for some reason. i'm going through the changelog now. |
It is our bug. |
oh okay, thanks @afc163! Update: Tooltips seem to work when you set layout='inline' but doesn't work with vertical or with no layout set. |
|
We should use |
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
Environment(required)
What did you do? Please provide steps to re-produce your problem.
I tried to nest a tooltip in a form label like the registration form example:
https://ant.design/components/form/
In the past, this nesting of tooltips has worked. I think something may have broken on the 2.8.0 version?
What do you expected?
It was working, but does not work anymore. It is also worth noting that tooltips work outside normally, but just not when passed as a prop for form label.
What happen?
I did not see a tooltip pop up.
Re-producible online demo
http://codepen.io/anon/pen/mWRWzm?editors=0011
The text was updated successfully, but these errors were encountered: