Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p><strong>Solution:</strong> Upgrading to jQuery UI 1.8.18 fixed this problem for me.</p> <p>This isn't an answer but it might provide more information on the issue. If you follow the calls when you press the up or down keys when the menu is open, you get to the activate method of the menu widget which calls the hasScroll method (Line 5487 using v1.8.11);</p> <pre><code>hasScroll: function() { return this.element.height() &lt; this.element.attr("scrollHeight"); }, </code></pre> <p>It seems like the problem is that the scrollHeight attribute is not defined for the menu ul element and thus this method always returns false.</p> <p>Here is the activate method:</p> <pre><code>activate: function( event, item ) { this.deactivate(); if (this.hasScroll()) { var offset = item.offset().top - this.element.offset().top, scroll = this.element.attr("scrollTop"), elementHeight = this.element.height(); if (offset &lt; 0) { this.element.attr("scrollTop", scroll + offset); } else if (offset &gt;= elementHeight) { this.element.attr("scrollTop", scroll + offset - elementHeight + item.height()); } } this.active = item.eq(0) .children("a") .addClass("ui-state-hover") .attr("id", "ui-active-menuitem") .end(); this._trigger("focus", event, { item: item }); } </code></pre> <p>Even if you force the hasScroll method to return true, you run into another problem as the scrollTop attribute is not defined either.</p> <p>I'll let you know if I figure out a solution to this as it is plaguing my application as well.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload