Skip to content

Commit

Permalink
fix(ContextMenu): unable to change position of context menu when righ…
Browse files Browse the repository at this point in the history
…t click on trigger when it open
  • Loading branch information
zernonia committed Feb 12, 2025
1 parent 276c31b commit f0d23e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/src/ContextMenu/ContextMenuContent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ const hasInteractedOutside = ref(false)
side="right"
:side-offset="2"
align="start"
update-position-strategy="always"
:style="{
'--reka-context-menu-content-transform-origin':
'var(--reka-popper-transform-origin)',
Expand Down
1 change: 1 addition & 0 deletions packages/core/src/Menu/MenuContentImpl.vue
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ provideMenuContentContext({
:arrow-padding="arrowPadding"
:prioritize-position="prioritizePosition"
:position-strategy="positionStrategy"
:update-position-strategy="updatePositionStrategy"
:sticky="sticky"
:hide-when-detached="hideWhenDetached"
:reference="reference"
Expand Down

0 comments on commit f0d23e7

Please sign in to comment.