You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The AutosizeInput internal component within the EuiComboBox is causing noticeable performance issue in a UI on component rerender.
The code around the EuiComboBox had to be optimized to strongly minimize rerenders of the component due to an internal UI reflow triggered by the internal AutosizeInput component.
To give an idea of the performance impact, this is a profile read of a single state update operation in Lens:
Not sure there's a specific solution for this problem, but it may help to add some documentation on the EuiComboBox page in a way to make the user aware of the problem - suggesting how to minimize re-renders.
It's possible that this may be fixed when we refactor EuiComboBox to use EuiSelectable under the hood (which we'll be doing not just for perf reasons but also accessibility consistency): #2841
We should certainly look into that refactor sometime soon as a result.
Activity
cee-chen commentedon Feb 6, 2023
It's possible that this may be fixed when we refactor
EuiComboBoxto useEuiSelectableunder the hood (which we'll be doing not just for perf reasons but also accessibility consistency): #2841We should certainly look into that refactor sometime soon as a result.