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;
|
||||
quickActions: TRenderQuickActions;
|
||||
canEditProperties: (projectId: string | undefined) => boolean;
|
||||
updateIssue:
|
||||
| ((projectId: string | null, issueId: string, data: Partial<TIssue>) => Promise<void>)
|
||||
| undefined;
|
||||
updateIssue: ((projectId: string | null, issueId: string, data: Partial<TIssue>) => Promise<void>) | undefined;
|
||||
portalElement: React.MutableRefObject<HTMLDivElement | null>;
|
||||
nestingLevel: number;
|
||||
issueId: string;
|
||||
|
|
@ -133,9 +131,7 @@ interface IssueRowDetailsProps {
|
|||
isEstimateEnabled: boolean;
|
||||
quickActions: TRenderQuickActions;
|
||||
canEditProperties: (projectId: string | undefined) => boolean;
|
||||
updateIssue:
|
||||
| ((projectId: string | null, issueId: string, data: Partial<TIssue>) => Promise<void>)
|
||||
| undefined;
|
||||
updateIssue: ((projectId: string | null, issueId: string, data: Partial<TIssue>) => Promise<void>) | undefined;
|
||||
portalElement: React.MutableRefObject<HTMLDivElement | null>;
|
||||
nestingLevel: number;
|
||||
issueId: string;
|
||||
|
|
@ -328,7 +324,10 @@ const IssueRowDetails = observer((props: IssueRowDetailsProps) => {
|
|||
</Tooltip>
|
||||
</div>
|
||||
</div>
|
||||
<div className={`hidden group-hover:block ${isMenuActive ? "!block" : ""}`}>
|
||||
<div
|
||||
className={`hidden group-hover:block ${isMenuActive ? "!block" : ""}`}
|
||||
onClick={(e) => e.stopPropagation()}
|
||||
>
|
||||
{quickActions({
|
||||
issue: issueDetail,
|
||||
parentRef: cellRef,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue