mirror of
https://github.com/codex-team/editor.js
synced 2026-03-16 15:45:47 +01:00
Fix popover focus
This commit is contained in:
parent
ae270f1cb7
commit
616b882add
1 changed files with 2 additions and 2 deletions
|
|
@ -237,9 +237,9 @@ export default class Popover extends EventsDispatcher<PopoverEvent> {
|
|||
this.flipper.activate();
|
||||
|
||||
if (this.searchable) {
|
||||
window.requestAnimationFrame(() => {
|
||||
setTimeout(() => {
|
||||
this.search.focus();
|
||||
});
|
||||
}, 100);
|
||||
}
|
||||
|
||||
if (isMobileScreen()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue