Bug Type: Component
Environment
- Vue Version:
3.4.35
- Element Plus Version:
2.7.8
- Browser / OS:
5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36
- Build Tool:
Vite
Reproduction
Related Component
el-tooltip
el-button
Reproduction Link
Element Plus Playground
Steps to reproduce
eltooltip默认插槽放入elbutton并且设置button属性为disabled,然后disabled的button不会展示tooltip的content
What is Expected?
disabled的button展示非disabled tooltip的content
What is actually happening?
disabled的button不会展示非disabled tooltip的content
Additional comments
(empty)
8条答案
按热度按时间mbyulnm01#
tooltip
does not determine what the specific content of the default slot is. If you want to disabletooltip
under certain conditions, you should set thedisabled
property for it.xesrikrc2#
tooltip
does not determine what the specific content of the default slot is. If you want to disabletooltip
under certain conditions, you should set thedisabled
property for it.I mean, when I set the disabled for el-button, but the el-tooltip with no disabled property and do not show its content.
I wish when my mouse hover the disabled el-button and show the eltooltip's content 'the reason why the elbutton was disabled' but nothing show :(
tyu7yeag3#
It looks normal to me.
vptzau2j4#
It looks normal to me.
whats your browser version mine is↓
Browser / OS: 5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36
xyhw6mcr5#
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36
z9zf31ra6#
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36
gj3fmq9x7#
It seems to be related to the browser version. Can it be solved if the version is updated?
wyyhbhjk8#
It seems to be related to the browser version. Can it be solved if the version is updated?
yes it is normal in Chrome/127.0.6533.89