awesome-element icon indicating copy to clipboard operation
awesome-element copied to clipboard

el-tooltip not working on disabled el-button

Open xfudox opened this issue 6 years ago • 5 comments

When el-button (only child) inside el-tooltip is disabled, el-tooltip won't show anything.

Is this normal/desired behavior?

I would like to show tooltip with information on why button is disabled, so el-tooltip need to be enabled only when el-button is disabled.

xfudox avatar Nov 22 '18 10:11 xfudox

I have the same problem, any update on this?

ChristianGiupponi avatar Nov 26 '18 10:11 ChristianGiupponi

bump

xfudox avatar Dec 17 '18 10:12 xfudox

same issue

sunchenguang avatar Jun 13 '19 11:06 sunchenguang

just use span to wrap disabled button <span><el-button disabled></el-button></span>

sunchenguang avatar Jun 19 '19 02:06 sunchenguang

just use span to wrap disabled button <span><el-button disabled></el-button></span>

Thanks alot @sunchenguang. :heart:

FabioRNobrega avatar May 18 '21 17:05 FabioRNobrega

Still happening with version 2.15.12

cstuncsik avatar Apr 06 '23 12:04 cstuncsik

just use span to wrap disabled button <span><el-button disabled></el-button></span>

That worked for me

alberttocastro avatar Apr 10 '23 14:04 alberttocastro