liwei 1 år sedan
förälder
incheckning
df81f0bc92
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      src/modules/editor/components/CompUI/basicUI/View.tsx

+ 2 - 2
src/modules/editor/components/CompUI/basicUI/View.tsx

@@ -96,7 +96,7 @@ export const View = defineComponent({
           ) as any;
           ) as any;
           return (
           return (
             <div
             <div
-              class="absolute w-full h-150px"
+              class="absolute w-full h-150px pointer-events-none"
               style={{
               style={{
                 bottom: style.height,
                 bottom: style.height,
               }}
               }}
@@ -132,7 +132,7 @@ export const View = defineComponent({
             c.compKey
             c.compKey
           ) as any;
           ) as any;
           return (
           return (
-            <div class="relative">
+            <div class="relative pointer-events-none">
               {/* <div class="h-150px pointer-events-none overflow-hidden">
               {/* <div class="h-150px pointer-events-none overflow-hidden">
                 <AfterComp.Component compId={c.id} key={c.id} />
                 <AfterComp.Component compId={c.id} key={c.id} />
               </div> */}
               </div> */}