From b2e6cb600f467511eeaae956d21e5d8ab6feeb86 Mon Sep 17 00:00:00 2001 From: Anton K Date: Wed, 1 Nov 2023 15:38:34 +0300 Subject: [PATCH] FIO-7355 Reworked the fix for HTML5 Select flickering issue --- src/components/select/Select.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/select/Select.js b/src/components/select/Select.js index cee40e832f..f976dbf96d 100644 --- a/src/components/select/Select.js +++ b/src/components/select/Select.js @@ -943,6 +943,11 @@ export default class SelectComponent extends ListComponent { } this.focusableElement = input; + + if (this.component.dataSrc === 'custom') { + this.addEventListener(input, 'focus', () => this.updateCustomItems()); + } + this.addEventListener(input, 'keydown', (event) => { const { key } = event;