Skip to content

Commit d69db64

Browse files
committed
fix: remove scroll smooth from dropdown list
1 parent 71c6f2d commit d69db64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dropdown/list/dropdown-list.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -539,13 +539,13 @@ export class DropdownList implements AbstractDropdownView, AfterViewInit, OnDest
539539
event.preventDefault();
540540
if (event.key === "ArrowDown" || event.key === "Down") {
541541
if (this.hasNextElement()) {
542-
this.getNextElement().scrollIntoView({behavior: "smooth", block: "end"});
542+
this.getNextElement().scrollIntoView({block: "end"});
543543
} else {
544544
this.blurIntent.emit("bottom");
545545
}
546546
} else if (event.key === "ArrowUp" || event.key === "Up") {
547547
if (this.hasPrevElement()) {
548-
this.getPrevElement().scrollIntoView({behavior: "smooth"});
548+
this.getPrevElement().scrollIntoView();
549549
} else {
550550
this.blurIntent.emit("top");
551551
}

0 commit comments

Comments
 (0)