Enum dropdown width matches content rather than parent input

Reviewed By: aigoncharov

Differential Revision: D51112879

fbshipit-source-id: e3647df81ce7bbed91a606e68d44a503c367c948
This commit is contained in:
Luke De Feo
2023-11-08 10:30:55 -08:00
committed by Facebook GitHub Bot
parent 92d1454140
commit e461229075

View File

@@ -45,6 +45,7 @@ export const PowerSearchEnumSetTerm: React.FC<PowerSearchEnumSetTermProps> = ({
options={options}
defaultOpen={!defaultValue}
defaultValue={defaultValue}
dropdownMatchSelectWidth={false}
onBlur={() => {
if (!selectValueRef.current?.length) {
onCancel();