feat: focus the previous/next message when one is deleted. If 0 messages, focus input
This commit is contained in:
@@ -44,6 +44,7 @@ export class List extends UINode {
|
||||
if (idx === this.focused) {
|
||||
if (this.focused > 0) this.focused--;
|
||||
this.calculateTabIndex();
|
||||
this.children[this.focused].focus()
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
Reference in New Issue
Block a user