mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
dev: dropdown overflow issue resolved in kanban (#1106)
This commit is contained in:
parent
83a0c8163f
commit
a44cddb0fc
@ -99,7 +99,7 @@ export const SingleBoard: React.FC<Props> = ({
|
||||
</div>
|
||||
</>
|
||||
)}
|
||||
<div className="pt-3 overflow-y-auto">
|
||||
<div className="pt-3 overflow-hidden overflow-y-scroll">
|
||||
{groupedByIssues?.[groupTitle].map((issue, index) => (
|
||||
<Draggable
|
||||
key={issue.id}
|
||||
|
@ -122,6 +122,8 @@ export const ViewAssigneeSelect: React.FC<Props> = ({
|
||||
noChevron
|
||||
position={position}
|
||||
disabled={isNotAllowed}
|
||||
selfPositioned={selfPositioned}
|
||||
dropdownWidth="w-full min-w-[8rem]"
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
@ -29,6 +29,7 @@ type CustomSearchSelectProps = {
|
||||
selfPositioned?: boolean;
|
||||
multiple?: boolean;
|
||||
footerOption?: JSX.Element;
|
||||
dropdownWidth?: string;
|
||||
};
|
||||
export const CustomSearchSelect = ({
|
||||
label,
|
||||
@ -47,6 +48,7 @@ export const CustomSearchSelect = ({
|
||||
selfPositioned = false,
|
||||
multiple = false,
|
||||
footerOption,
|
||||
dropdownWidth,
|
||||
}: CustomSearchSelectProps) => {
|
||||
const [query, setQuery] = useState("");
|
||||
|
||||
@ -108,7 +110,9 @@ export const CustomSearchSelect = ({
|
||||
position === "right" ? "right-0" : "left-0"
|
||||
} ${
|
||||
verticalPosition === "top" ? "bottom-full mb-1" : "mt-1"
|
||||
} z-10 origin-top-right rounded-md bg-brand-surface-1 text-xs shadow-lg focus:outline-none`}
|
||||
} z-10 origin-top-right rounded-md bg-brand-surface-1 text-xs shadow-lg focus:outline-none ${
|
||||
dropdownWidth ? dropdownWidth : ``
|
||||
} `}
|
||||
>
|
||||
<div className="flex w-full items-center justify-start rounded-sm border-[0.6px] border-brand-base bg-brand-surface-1 px-2">
|
||||
<MagnifyingGlassIcon className="h-3 w-3 text-brand-secondary" />
|
||||
|
Loading…
Reference in New Issue
Block a user