diff --git a/src/components/ComboBox.tsx b/src/components/ComboBox.tsx index b9744e0c..6f65d4df 100644 --- a/src/components/ComboBox.tsx +++ b/src/components/ComboBox.tsx @@ -59,6 +59,11 @@ interface ComboBoxProps { const StyledComboBox = styled.span` position: relative; + display: flex; +`; + +const StyledComboBoxInputWrpper = styled.span` + flex: 1 0 0; `; const StyledErrorTrigger = styled.div` @@ -181,7 +186,7 @@ export const ComboBox = forwardRef( ))} - + {renderTrigger ? ( <> {editMode @@ -191,7 +196,7 @@ export const ComboBox = forwardRef( ) : ( renderInput({ value, disabled, ref: inputRef, ...onENTER }) )} - +