Skip to content

Commit 4c27414

Browse files
committed
fix: block copy using settings button
1 parent 6313409 commit 4c27414

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

docs/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
- `Fix` - Fix selection of first block in read-only initialization with "autofocus=true"
88
- `Fix` - Incorrect caret position after blocks merging in Safari
99
- `Fix` - Several toolbox items exported by the one tool have the same shortcut displayed in toolbox
10+
- `Fix` - Fix issue where the block copy does not work when a block is selected using the settings button
1011

1112
### 2.30.6
1213

src/components/utils/popover/popover-abstract.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,9 @@ export abstract class PopoverAbstract<Nodes extends PopoverNodes = PopoverNodes>
119119
this.nodes.popover.classList.add(css.popoverOpened);
120120

121121
if (this.search !== undefined) {
122-
this.search.focus();
122+
requestAnimationFrame(() => {
123+
this.search?.focus();
124+
});
123125
}
124126
}
125127

0 commit comments

Comments
 (0)