Refactor MultipleObjectsPicker component (#10552)
Refactor to only have MultipleRecordPicker and SingleRecordPicker What's done: - SingleRecordPicker, MultipleRecordPicker - RelationToOneInput - RelationFromManyInput - usage in TableCell, InlineCell, RelationDetailSection, Workflow What's left: - Make a pass on the app, to make sure the hotkeyScopes, clickOutside are properly set - Fix flashing on ActivityTarget - add more tests on the code
This commit is contained in:
+1
-2
@@ -11,7 +11,7 @@ const StyledDropdownMenuItemsExternalContainer = styled.div<{
|
||||
display: flex;
|
||||
|
||||
flex-direction: column;
|
||||
max-height: ${({ hasMaxHeight }) => (hasMaxHeight ? '188px' : 'none')};
|
||||
max-height: ${({ hasMaxHeight }) => (hasMaxHeight ? '168px' : 'none')};
|
||||
|
||||
padding: var(--padding);
|
||||
|
||||
@@ -72,7 +72,6 @@ export const DropdownMenuItemsContainer = ({
|
||||
<ScrollWrapper
|
||||
contextProviderName="dropdownMenuItemsContainer"
|
||||
componentInstanceId={`scroll-wrapper-dropdown-menu-${id}`}
|
||||
heightMode="fit-content"
|
||||
>
|
||||
<StyledDropdownMenuItemsExternalContainer
|
||||
hasMaxHeight={hasMaxHeight}
|
||||
|
||||
Reference in New Issue
Block a user