Skip to content

fix(home): scale entire continue watching card on desktop hover - #600

Open
neerajlovecyber wants to merge 1 commit into
NuvioMedia:Devfrom
neerajlovecyber:fix/desktop-continue-watching-card-hover-scale
Open

neerajlovecyber wants to merge 1 commit into
NuvioMedia:Devfrom
neerajlovecyber:fix/desktop-continue-watching-card-hover-scale

Conversation

@neerajlovecyber

@neerajlovecyber neerajlovecyber commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes the hover animation on Continue Watching landscape cards so the entire card scales up smoothly (1.05x) and elevates above neighboring cards, consistent with all other desktop catalog cards (NuvioPosterCard, CollectionCard, ContinueWatchingWideCard, etc.).

Previously, .clip(RoundedCornerShape(...)) was chained before .posterCardClickable(...), trapping the hover graphicsLayer scale inside the unscaled card boundaries. As a result, hovering would zoom and crop the inner image rather than scaling the entire card. Moving .posterCardClickable(...) to the start of the modifier chain allows the entire card to expand on hover.

PR type

  • Reproducible bug fix
  • UI glitch/bug fix
  • Behavior bug/regression fix
  • Small maintenance only, with no UI or behavior change
  • Docs accuracy fix
  • Translation/localization only
  • Approved larger or directional change

Why

In the desktop Continue Watching row, hovering over landscape cards resulted in the inner artwork zooming in place while the card frame remained stationary. All other cards across the app grow outwards when hovered. Placing .posterCardClickable(...) before .clip() fixes the modifier execution order so the card scales as expected.

Desktop scope

Desktop app (commonMain layout component ContinueWatchingLandscapeCard). Affects Windows, macOS, and Linux desktop builds where desktop hover scaling is enabled. On touch-based mobile devices, desktopPosterHoverScale is a no-op (if (!isDesktop) return this).

Issue or approval

Fixes #599

UI / behavior impact

  • No UI change
  • No behavior change
  • UI changed only to fix a documented glitch/bug
  • Behavior changed only to fix a documented bug/regression
  • UI change has explicit maintainer approval
  • Behavior change has explicit maintainer approval

Policy check

  • I have read and understood CONTRIBUTING.md.
  • This PR is small, focused, and limited to one problem.
  • This PR is scoped to the desktop app, desktop packaging, desktop documentation, or shared code required for desktop behavior.
  • This PR is not cosmetic-only.
  • Any UI change fixes a linked glitch/bug and includes visual proof, or this PR has no UI change.
  • Any behavior change fixes a linked bug/regression or has explicit approval, or this PR has no behavior change.
  • This PR does not bundle unrelated refactors, cleanups, formatting, or drive-by changes.
  • This PR does not add dependencies, architecture changes, migrations, or product-direction changes without explicit approval.
  • I listed the testing performed below.

Scope boundaries

  • Only modifies modifier chaining on ContinueWatchingLandscapeCard in HomeContinueWatchingSection.kt.
  • Does not modify any other card components or layouts.
  • Does not alter click handling, badge placement, or progress bar logic.

Testing

  • Tested on Windows 11 x64 desktop.
  • Verified on local build (Nuvio.exe): hovering over Continue Watching landscape cards now smoothly expands the entire card (1.05x) and elevates above adjacent cards.
  • Verified click and long-press interactions still trigger properly.
  • Confirmed touch interaction on mobile remains unaffected.

Screenshots / Video

Verified on desktop: Continue Watching landscape cards smoothly scale up the whole card container on mouse hover instead of zooming the inner image inside a stationary frame.
image
image

Breaking changes

None.

Linked issues

Fixes #599

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.

[Bug]: Continue Watching landscape cards zoom inner artwork on hover instead of scaling entire card

1 participant