Skip to content

Commit

Permalink
FIO-7355 Reworked the fix for HTML5 Select flickering issue
Browse files Browse the repository at this point in the history
  • Loading branch information
antonSoftensity committed Nov 1, 2023
1 parent c563446 commit b2e6cb6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/select/Select.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit b2e6cb6

Please sign in to comment.