fix: spreadsheet layout quick action event propagation (#5141)
This commit is contained in:
parent
d042dac042
commit
0b1f9f0e5b
1 changed files with 6 additions and 7 deletions
|
|
@ -30,9 +30,7 @@ interface Props {
|
||||||
isEstimateEnabled: boolean;
|
isEstimateEnabled: boolean;
|
||||||
quickActions: TRenderQuickActions;
|
quickActions: TRenderQuickActions;
|
||||||
canEditProperties: (projectId: string | undefined) => boolean;
|
canEditProperties: (projectId: string | undefined) => boolean;
|
||||||
updateIssue:
|
updateIssue: ((projectId: string | null, issueId: string, data: Partial<TIssue>) => Promise<void>) | undefined;
|
||||||
| ((projectId: string | null, issueId: string, data: Partial<TIssue>) => Promise<void>)
|
|
||||||
| undefined;
|
|
||||||
portalElement: React.MutableRefObject<HTMLDivElement | null>;
|
portalElement: React.MutableRefObject<HTMLDivElement | null>;
|
||||||
nestingLevel: number;
|
nestingLevel: number;
|
||||||
issueId: string;
|
issueId: string;
|
||||||
|
|
@ -133,9 +131,7 @@ interface IssueRowDetailsProps {
|
||||||
isEstimateEnabled: boolean;
|
isEstimateEnabled: boolean;
|
||||||
quickActions: TRenderQuickActions;
|
quickActions: TRenderQuickActions;
|
||||||
canEditProperties: (projectId: string | undefined) => boolean;
|
canEditProperties: (projectId: string | undefined) => boolean;
|
||||||
updateIssue:
|
updateIssue: ((projectId: string | null, issueId: string, data: Partial<TIssue>) => Promise<void>) | undefined;
|
||||||
| ((projectId: string | null, issueId: string, data: Partial<TIssue>) => Promise<void>)
|
|
||||||
| undefined;
|
|
||||||
portalElement: React.MutableRefObject<HTMLDivElement | null>;
|
portalElement: React.MutableRefObject<HTMLDivElement | null>;
|
||||||
nestingLevel: number;
|
nestingLevel: number;
|
||||||
issueId: string;
|
issueId: string;
|
||||||
|
|
@ -328,7 +324,10 @@ const IssueRowDetails = observer((props: IssueRowDetailsProps) => {
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className={`hidden group-hover:block ${isMenuActive ? "!block" : ""}`}>
|
<div
|
||||||
|
className={`hidden group-hover:block ${isMenuActive ? "!block" : ""}`}
|
||||||
|
onClick={(e) => e.stopPropagation()}
|
||||||
|
>
|
||||||
{quickActions({
|
{quickActions({
|
||||||
issue: issueDetail,
|
issue: issueDetail,
|
||||||
parentRef: cellRef,
|
parentRef: cellRef,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue