Skip to content

fix(core): block pointer input on frozen slide previews#244

Open
ridemountainpig wants to merge 1 commit into
1weiho:mainfrom
ridemountainpig:fix/freeze-motion-pointer-shield
Open

fix(core): block pointer input on frozen slide previews#244
ridemountainpig wants to merge 1 commit into
1weiho:mainfrom
ridemountainpig:fix/freeze-motion-pointer-shield

Conversation

@ridemountainpig

@ridemountainpig ridemountainpig commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

What

Adds a pointer-blocking overlay to SlideCanvas when freezeMotion is set, so interactive slide content can no longer hijack clicks meant for the thumbnail and overview surfaces.

Why

In frozen previews (thumbnails, overview), interactive content inside a slide could capture pointer events, swallowing clicks that should select/navigate the slide.

Change

  • Render an aria-hidden absolutely-positioned overlay (z-10) over the canvas only when freezeMotion is true.

🤖 Generated with Claude Code

Summary by CodeRabbit

Bug Fixes

  • Pointer input is now blocked on frozen slide previews, preventing interactive content from hijacking thumbnail and overview clicks.

Add a pointer-blocking overlay when freezeMotion is set so interactive
slide content no longer hijacks thumbnail and overview clicks.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 17, 2026

Copy link
Copy Markdown

@ridemountainpig is attempting to deploy a commit to the Yiwei Ho Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai

coderabbitai Bot commented Jun 17, 2026

Copy link
Copy Markdown

Review Change Stack

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 977400de-d80d-4a72-840b-0ca385ff8b7c

📥 Commits

Reviewing files that changed from the base of the PR and between 0128ba4 and 1009d2f.

📒 Files selected for processing (2)
  • .changeset/thumbnail-pointer-shield.md
  • packages/core/src/app/components/slide-canvas.tsx
 ________________________________________________________________________________
< A bunny is never late, nor is he early, he reviews precisely when he means to. >
 --------------------------------------------------------------------------------
  \
   \   \
        \ /\
        ( )
      .( o ).

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

CodeRabbit can use TruffleHog to scan for secrets in your code with verification capabilities.

Add a TruffleHog config file (e.g. trufflehog-config.yml, trufflehog.yml) to your project to customize detectors and scanning behavior. The tool runs only when a config file is present.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant