Skip to content

Commit

Permalink
Restore focus on cancel (#3780)
Browse files Browse the repository at this point in the history
Closes #3779
  • Loading branch information
taozhou-glean authored Jul 27, 2023
1 parent bca7830 commit 837e4c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions themes/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ class BaseTooltip extends Tooltip {

cancel() {
this.hide();
this.restoreFocus();
}

edit(mode = 'link', preview: string | null = null) {
Expand Down

0 comments on commit 837e4c9

Please sign in to comment.