- {/* One fixed height, so a model with more options never resizes the popup. Short
+
+ {/* One fixed height, so a model with more options never resizes the popup. Short
windows shrink it and keep the footer. */}
-
- {picker}
-
{
- if (event.key !== "ArrowLeft" || event.altKey || event.ctrlKey || event.metaKey)
- return;
- event.preventDefault();
- event.stopPropagation();
- searchInputRef.current?.focus();
- }}
- >
- {props.effortColumn}
-
+
+ {picker}
+
{
+ if (event.key !== "ArrowLeft" || event.altKey || event.ctrlKey || event.metaKey)
+ return;
+ event.preventDefault();
+ event.stopPropagation();
+ searchInputRef.current?.focus();
+ }}
+ >
+ {props.effortColumn}
- {props.footer}
-
+ {props.footer}
+
) : (
picker
)}