Browse Source

fix: fix: Try to fix the right-click menu and cause the scroll bar to lock #24

vben 9 tháng trước cách đây
mục cha
commit
478bbe17ee

+ 6 - 1
packages/@core/ui-kit/tabs-ui/src/components/chrome-tabs/tab.vue

@@ -42,7 +42,12 @@ function handleUnPushPin() {
     :class="[b()]"
     class="absolute flex h-full cursor-pointer select-none items-center"
   >
-    <VbenContextMenu :handler-data="tab" :menus="menus" item-class="pr-4">
+    <VbenContextMenu
+      :handler-data="tab"
+      :menus="menus"
+      :modal="false"
+      item-class="pr-4"
+    >
       <div class="h-full">
         <TabBackground />
         <div :class="e('content')" :title="title">