Skip to content

Fix click-to-play pause button staying visible on mobile#288

Merged
simonw merged 1 commit into
mainfrom
claude/mobile-pause-button-visibility-1flhlh
Jun 17, 2026
Merged

Fix click-to-play pause button staying visible on mobile#288
simonw merged 1 commit into
mainfrom
claude/mobile-pause-button-visibility-1flhlh

Conversation

@simonw

@simonw simonw commented Jun 17, 2026

Copy link
Copy Markdown
Owner

Bug in most recent tool, on mobile the pause button stays visible even once it has started playing - it should not be visible unless the user moshes over or mobile-touches the image

On touch devices the :hover pseudo-class sticks after a tap, so the
faint pause control stayed pinned visible once playback started. Gate
the hover emphasis behind @media (hover:hover) and add an explicit
touch-reveal (.ctp-touched) that fades the control back out after 1.4s.

Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_017GGwedjkAr1KTogi4surmn

On touch devices the :hover pseudo-class sticks after a tap, so the
faint pause control stayed pinned visible once playback started. Gate
the hover emphasis behind @media (hover:hover) and add an explicit
touch-reveal (.ctp-touched) that fades the control back out after 1.4s.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GGwedjkAr1KTogi4surmn
@claude

claude Bot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Claude encountered an error —— View job


I'll analyze this and get back to you.

@simonw simonw merged commit 30fd288 into main Jun 17, 2026
1 of 4 checks passed
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.

2 participants