From 616b882add252aa7cf7b3ef95d2af77dd5698835 Mon Sep 17 00:00:00 2001 From: Tanya Fomina Date: Fri, 28 Oct 2022 19:26:44 +0300 Subject: [PATCH] Fix popover focus --- src/components/utils/popover.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/utils/popover.ts b/src/components/utils/popover.ts index ce780824..86b0b447 100644 --- a/src/components/utils/popover.ts +++ b/src/components/utils/popover.ts @@ -237,9 +237,9 @@ export default class Popover extends EventsDispatcher { this.flipper.activate(); if (this.searchable) { - window.requestAnimationFrame(() => { + setTimeout(() => { this.search.focus(); - }); + }, 100); } if (isMobileScreen()) {