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

Tooltip 在Avatar组件上不生效 #102

Closed
1 task
iczer opened this issue Aug 6, 2018 · 3 comments
Closed
1 task

Tooltip 在Avatar组件上不生效 #102

iczer opened this issue Aug 6, 2018 · 3 comments

Comments

@iczer
Copy link

iczer commented Aug 6, 2018

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.0.2

Environment

win10 chrome 版本 67.0.3396.99

Reproduction link

Edit on CodeSandbox

Steps to reproduce

<a-tooltip title="不会显示tip">
<a-avatar src="https://gw.alipayobjects.com/zos/rmsportal/ZiESqWwCXBRQoaPONSJe.png" size=large />
</a-tooltip>

What is expected?

Tooltip 在Avatar组件上可以生效

What is actually happening?

Tooltip 在Avatar组件上不生效

@tangjinzhou
Copy link
Member

@wangxueliang 兼容下avatar对mouse事件的监听

下个版本修复,临时解决方案avatar外层加一层标签
如:https://codesandbox.io/s/rw5yv55rxm

@iczer
Copy link
Author

iczer commented Aug 6, 2018

感谢

@lock
Copy link

lock bot commented Aug 6, 2019

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.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants