Skip to content

Commit

Permalink
fix: popover trigger set (#1820)
Browse files Browse the repository at this point in the history
  • Loading branch information
boenfu authored Sep 11, 2023
1 parent aa91800 commit c8e5ca7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/semi-foundation/dropdown/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const cssClasses = {

const strings = {
POSITION_SET: tooltipStrings.POSITION_SET,
TRIGGER_SET: ['hover', 'focus', 'click', 'custom'],
TRIGGER_SET: ['hover', 'focus', 'click', 'custom', 'contextMenu'],
DEFAULT_LEAVE_DELAY: 100,
ITEM_TYPE: ['primary', 'secondary', 'tertiary', 'warning', 'danger'],
};
Expand Down
2 changes: 1 addition & 1 deletion packages/semi-foundation/popover/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const strings = {
'leftTopOver',
'rightTopOver',
],
TRIGGER_SET: ['hover', 'focus', 'click', 'custom'],
TRIGGER_SET: ['hover', 'focus', 'click', 'custom', 'contextMenu'],
DEFAULT_ARROW_STYLE: {
borderOpacity: '1',
backgroundColor: 'var(--semi-color-bg-3)',
Expand Down

0 comments on commit c8e5ca7

Please sign in to comment.