diff --git a/web/core/components/inbox/modals/create-modal/issue-properties.tsx b/web/core/components/inbox/modals/create-modal/issue-properties.tsx index 313adaf3017..ce37f07b1f5 100644 --- a/web/core/components/inbox/modals/create-modal/issue-properties.tsx +++ b/web/core/components/inbox/modals/create-modal/issue-properties.tsx @@ -91,7 +91,7 @@ export const InboxIssueProperties: FC = observer((props) {/* labels */}
{ }} + setIsOpen={() => {}} value={data?.label_ids || []} onChange={(labelIds) => handleData("label_ids", labelIds)} projectId={projectId} @@ -171,13 +171,13 @@ export const InboxIssueProperties: FC = observer((props) {/* add parent */} {isVisible && ( - <> +
{selectedParentIssue ? ( @@ -188,6 +188,8 @@ export const InboxIssueProperties: FC = observer((props) } placement="bottom-start" + className="h-full w-full" + customButtonClassName="h-full" tabIndex={getIndex("parent_id")} > <> @@ -208,7 +210,7 @@ export const InboxIssueProperties: FC = observer((props) ) : (
)}
); diff --git a/web/core/components/issues/issue-modal/components/default-properties.tsx b/web/core/components/issues/issue-modal/components/default-properties.tsx index 5177382ce61..c1978260a14 100644 --- a/web/core/components/issues/issue-modal/components/default-properties.tsx +++ b/web/core/components/issues/issue-modal/components/default-properties.tsx @@ -262,58 +262,62 @@ export const IssueDefaultProperties: React.FC = ob )} /> )} - {parentId ? ( - - {selectedParentIssue?.project_id && ( - - )} - - } - placement="bottom-start" - tabIndex={getIndex("parent_id")} - > - <> - setParentIssueListModalOpen(true)}> - Change parent issue - - ( - { - onChange(null); - handleFormChange(); - }} - > - Remove parent issue - - )} - /> - - - ) : ( - - )} +
+ {parentId ? ( + + {selectedParentIssue?.project_id && ( + + )} + + } + placement="bottom-start" + className="h-full w-full" + customButtonClassName="h-full" + tabIndex={getIndex("parent_id")} + > + <> + setParentIssueListModalOpen(true)}> + Change parent issue + + ( + { + onChange(null); + handleFormChange(); + }} + > + Remove parent issue + + )} + /> + + + ) : ( + + )} +