vue-multiselect icon indicating copy to clipboard operation
vue-multiselect copied to clipboard

Allow disabled options to have a tooltip.

Open erenard opened this issue 4 years ago • 1 comments

My client wants a tooltip to show the reason why an option is disabled. Unfortunately it won't work with disabled options. Please note that enabled option can have a tooltip without problem.

Reproduction Link

https://jsfiddle.net/Timmy469/L3vxoeg2/3/

Steps to reproduce

Hover the disabled option with the mouse cursor.

Expected behavior

The tooltip shows up

Actual behavior

The tooltip doesn't show up

erenard avatar Aug 14 '20 10:08 erenard

Stumbled on this issue today and made a workaround with CSS:

.multiselect__option--disabled {
  cursor: pointer; /* optional */
  pointer-events: auto;
}

https://jsfiddle.net/xvbq91po/2/

Yoduh avatar Mar 21 '23 15:03 Yoduh