1
Help for ParamQuery Select / Re: Scroll selection into view on dropdown?
« on: November 15, 2016, 12:46:22 pm »
Still testing for side effects, but I think I have found a way.
This function is called with an undefined $label on dropdown:
Changed the selector and now it seems to work:
This function is called with an undefined $label on dropdown:
Code: [Select]
fn._highlight = function($label) {
var hoverCls = this.options.hoverCls;
if (!$label || !$label.length) {
$label = this.$menu.find("label.pq-select-option-label.ui-state-enable:visible:first");
}
...
Changed the selector and now it seems to work:
Code: [Select]
$label = this.$menu.find("label.pq-select-option-label.ui-state-enable.pq-state-select:visible:first");