material icon indicating copy to clipboard operation
material copied to clipboard

Tooltip should not show if content is empty

Open sdesmond opened this issue 10 years ago • 1 comments

Pen at http://codepen.io/anon/pen/bpvBJV shows one normal tooltip and one empty one.

If the tooltip content is empty, consider not showing anything instead of showing an empty tooltip. The Angular Bootstrap team does this (empty strings and undefined/null don't show) and it makes for very easy conditional tooltips.

sdesmond avatar Apr 13 '16 15:04 sdesmond

Yes, I agree - this would be a useful enhancement.

devversion avatar Apr 13 '16 19:04 devversion