Skip to content

Commit 357d80b

Browse files
authored
Merge pull request #31 from Qualcomm-Capstone/fix/reding-page-car
fix: 3D 모드에서 Spline iframe 조작 불가 문제 수정
2 parents fa0f310 + 40051a9 commit 357d80b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/components/LandingPage.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ function LandingPage() {
8989
title="3D Vehicle Scene"
9090
allow="autoplay"
9191
/>
92-
{/* Gradient overlays */}
92+
{/* Gradient overlays - pointer-events-none so they never block the iframe */}
9393
<div
94-
className={`absolute inset-0 transition-opacity duration-700 ${
94+
className={`absolute inset-0 pointer-events-none transition-opacity duration-700 ${
9595
is3DMode ? "opacity-10" : "opacity-100"
9696
}`}
9797
>
@@ -103,7 +103,7 @@ function LandingPage() {
103103
{/* Hero Content */}
104104
<div
105105
className={`relative z-10 text-center px-6 max-w-4xl mx-auto transition-all duration-700 ${
106-
is3DMode ? "opacity-10 blur-sm scale-95" : "opacity-100"
106+
is3DMode ? "opacity-10 blur-sm scale-95 pointer-events-none" : "opacity-100"
107107
}`}
108108
style={{ opacity: is3DMode ? 0.1 : heroOpacity }}
109109
>

0 commit comments

Comments
 (0)