Aligned OrderList-PickList with Listbox

This commit is contained in:
Cagatay Civici 2024-01-24 19:40:47 +03:00
parent 0512362f38
commit c0ccb2b92c
80 changed files with 351 additions and 351 deletions

View file

@ -649,7 +649,7 @@ export default {
const element = DomHandler.findSingle(this.list, `li[id="${id}"]`);
if (element) {
element.scrollIntoView && element.scrollIntoView({ block: 'nearest', inline: 'nearest' });
element.scrollIntoView && element.scrollIntoView({ block: 'nearest', inline: 'nearest', behavior: 'smooth' });
} else if (!this.virtualScrollerDisabled) {
this.virtualScroller && this.virtualScroller.scrollToIndex(index !== -1 ? index : this.focusedOptionIndex);
}