You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 22, 2021. It is now read-only.
The scrolling of the dropdown can be down by moving the mouse down in the autocomplete list. There is no way to disable that.
In the auto-complete.js file, the select function is called when the mouse hovers a list item that triggers the event 'suggestion-selected':
self.select = index => {
if (index < 0) {
index = self.items.length - 1;
}
else if (index >= self.items.length) {
index = 0;
}
self.index = index;
self.selected = self.items[index];
events.trigger('suggestion-selected', index);
};
And then it calls the function scrollToElement:
events.on('suggestion-selected', index => {
scrollToElement(element, index);
});
Is there any way to disable this feature for mouse hovering?
The scrolling of the dropdown can be down by moving the mouse down in the autocomplete list. There is no way to disable that.
In the auto-complete.js file, the select function is called when the mouse hovers a list item that triggers the event 'suggestion-selected':
And then it calls the function scrollToElement:
Is there any way to disable this feature for mouse hovering?