diff --git a/app/assets/javascripts/select-kit/addon/components/select-kit.js b/app/assets/javascripts/select-kit/addon/components/select-kit.js index 937628b4de9..f36a0db32f3 100644 --- a/app/assets/javascripts/select-kit/addon/components/select-kit.js +++ b/app/assets/javascripts/select-kit/addon/components/select-kit.js @@ -714,7 +714,7 @@ export default Component.extend( rowContainer = this.element.querySelector(".select-kit-row.is-none"); } - rowContainer && rowContainer.focus({ preventScroll }); + rowContainer?.focus({ preventScroll }); }, _highlightLast() { @@ -989,7 +989,7 @@ export default Component.extend( } if (highlighted) { - this._scrollToRow(highlighted); + this._scrollToRow(highlighted, false); this.set("selectKit.highlighted", highlighted); } }