Skip to content

Commit

Permalink
Tooltip: Added note about disabled elements.
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgonzalez committed Oct 26, 2012
1 parent 137bc42 commit cec5d5f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions entries/tooltip.xml
Expand Up @@ -14,6 +14,8 @@
<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>

<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>

<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>
</longdesc>
<note id="functional-css"/>
<added>1.9</added>
Expand Down

0 comments on commit cec5d5f

Please sign in to comment.