Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pengx17 committed Nov 5, 2024
1 parent a68de11 commit 64d26c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/frontend/component/src/ui/tags/tag-edit-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export const TagEditMenu = ({
};

return {
noPortal: true,
contentOptions: {
onClick(e) {
e.stopPropagation();
Expand Down Expand Up @@ -109,5 +110,6 @@ export const TagEditMenu = ({
} satisfies Partial<MenuProps>;
}, [tag, t, jumpToTag, colors, onTagChange, onTagDelete]);

console.log('menuProps', menuProps);
return <Menu {...menuProps}>{children}</Menu>;
};
1 change: 1 addition & 0 deletions packages/frontend/component/src/ui/tags/tags-editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ export const TagsInlineEditor = ({
}, [props.selectedTags, props.tags]);
return (
<Menu
noPortal
contentOptions={{
side: 'bottom',
align: 'start',
Expand Down

0 comments on commit 64d26c6

Please sign in to comment.