From 3f4983eb92caa07e9b874578057c91d3a5323c0c Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Thu, 27 Jun 2024 10:56:34 +0200 Subject: [PATCH] dont select lastActivated as fallback seems unnecessory, deactivating and activating the same element again and again --- asset/js/widget/ActionList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asset/js/widget/ActionList.js b/asset/js/widget/ActionList.js index 4af72272..c569e433 100644 --- a/asset/js/widget/ActionList.js +++ b/asset/js/widget/ActionList.js @@ -333,7 +333,7 @@ define(["../notjQuery"], function (notjQuery) { [toActiveItem, markAsLastActive] = _this.findToActiveItem(lastActivatedItem, event.key); } } else { - toActiveItem = directionalNextItem ?? lastActivatedItem; + toActiveItem = directionalNextItem; if (toActiveItem) { if (toActiveItem.classList.contains('load-more')) {