Skip to content

Commit cec5d5f

Browse files
committed
Tooltip: Added note about disabled elements.
1 parent 137bc42 commit cec5d5f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

entries/tooltip.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
<p>A fade animation is used by default to show and hide the tooltip, making the appearance a bit more organic, compared to just toggling the visiblity. This can be customized with the <a href="#option-show"><code>show</code></a> and <a href="#option-hide"><code>hide</code></a> options.</p>
1515

1616
<p>The <a href="#option-items"><code>items</code></a> and <a href="#option-content"><code>content</code></a> options need to stay in-sync. If you change one of them, you need to change the other.</p>
17+
18+
<p>In general, disabled elements do not trigger any DOM events. Therefore, it is not possible to properly control tooltips for disabled elements, since we need to listen to events to determine when to show and hide the tooltip. As a result, jQuery UI does not guarantee any level of support for tooltips attached to disabled elements. Unfortunately, this means that if you require tooltips on disabled elements, you may end up with a mixture of native tooltips and jQuery UI tooltips.</p>
1719
</longdesc>
1820
<note id="functional-css"/>
1921
<added>1.9</added>

0 commit comments

Comments
 (0)