Skip to content

Commit c51f2a1

Browse files
committed
fix(docs): add pointer-events-auto class to Playground component for improved interaction handling
1 parent 33afca4 commit c51f2a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/docs/docs-components/Playground.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const PlayGround: FC<PlaygroundProps> = ({
6666
<div id='leva-portal' className='h-0' onMouseMove={e => e.stopPropagation() } >
6767
<Leva collapsed hidden/>
6868
</div>
69-
<div className="absolute w-full h-full -z-10" ref={resizeRef} >
69+
<div className="absolute w-full h-full -z-10 pointer-events-auto" ref={resizeRef} >
7070
<Application usePhysics fillMode={FILLMODE_NONE} resolutionMode={RESOLUTION_AUTO} >
7171
<ResizeHandler resizeRef={resizeRef}/>
7272
<Suspense >

0 commit comments

Comments
 (0)