Skip to content

Commit

Permalink
#147 #148 fix error if edit-menu and popup are simultaneously open
Browse files Browse the repository at this point in the history
  • Loading branch information
JuliaSageder committed Jan 22, 2024
1 parent 8437f61 commit 313afee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/entry/Entry.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ export const Entry: React.FC<EntryProps> = ({
e.stopPropagation();
if (entryIdOpen !== null) {
setIsEntryPopupOpen(true);
setIsMenuOpen(false);
return;
}
setIsEditing(!isEditing);
Expand Down

0 comments on commit 313afee

Please sign in to comment.