Enum dropdown width matches content rather than parent input
Reviewed By: aigoncharov Differential Revision: D51112879 fbshipit-source-id: e3647df81ce7bbed91a606e68d44a503c367c948
This commit is contained in:
committed by
Facebook GitHub Bot
parent
92d1454140
commit
e461229075
@@ -45,6 +45,7 @@ export const PowerSearchEnumSetTerm: React.FC<PowerSearchEnumSetTermProps> = ({
|
|||||||
options={options}
|
options={options}
|
||||||
defaultOpen={!defaultValue}
|
defaultOpen={!defaultValue}
|
||||||
defaultValue={defaultValue}
|
defaultValue={defaultValue}
|
||||||
|
dropdownMatchSelectWidth={false}
|
||||||
onBlur={() => {
|
onBlur={() => {
|
||||||
if (!selectValueRef.current?.length) {
|
if (!selectValueRef.current?.length) {
|
||||||
onCancel();
|
onCancel();
|
||||||
|
|||||||
Reference in New Issue
Block a user