Skip to content

Commit

Permalink
dont select lastActivated as fallback
Browse files Browse the repository at this point in the history
seems unnecessory, deactivating and activating the same element again and again
  • Loading branch information
sukhwinder33445 committed Jul 2, 2024
1 parent 007bb78 commit 3f4983e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asset/js/widget/ActionList.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')) {
Expand Down

0 comments on commit 3f4983e

Please sign in to comment.