mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-09-02 03:16:54 +02:00
Fixed right arrow keyboard navigation selecting all subnodes rather than first
This commit is contained in:
@@ -174,7 +174,7 @@ class Finder {
|
||||
target = item.next();
|
||||
} else if (direction === 'right' && column.next().length) {
|
||||
column = column.next();
|
||||
target = column.find(`.${this.config.className.item}`);
|
||||
target = column.find(`.${this.config.className.item}`).first();
|
||||
} else if (direction === 'left' && column.prev().length) {
|
||||
column = column.prev();
|
||||
target = column.find(`.${this.config.className.active}`).first() || column.find(`.${this.config.className.item}`);
|
||||
|
||||
Reference in New Issue
Block a user