Skip to content

Commit

Permalink
- Remove stack id when popup is closed.
Browse files Browse the repository at this point in the history
  • Loading branch information
duduBTW committed Nov 1, 2024
1 parent 71b0f53 commit 5674806
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/renderer/src/components/popover/Popover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ function useProviderValue(props: Props) {
setPopoverStack((p) => [...p, newId]);
setId(newId);
} else {
stackIds.destroy(id());
setPopoverStack((p) => p.filter((popoverId) => popoverId !== id()));
setId("");
}
Expand Down

0 comments on commit 5674806

Please sign in to comment.