Skip to content

fix(client): keep the blurred video inside its rounded frame - #1170

Draft
serendipty01 wants to merge 1 commit into
roostorg:mainfrom
serendipty01:fix-blurred-video-overflow
Draft

serendipty01 wants to merge 1 commit into
roostorg:mainfrom
serendipty01:fix-blurred-video-overflow

Conversation

@serendipty01

@serendipty01 serendipty01 commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Context & Requests for Reviewers

fixes #1227
react-player's wrapper <div> defaults to a fixed 640x360 and forwards style straight to it, so it overflows (or gets clipped) whenever the review panel is narrower than 640px. Make the player fill the container width instead, capped by any caller-supplied max-*.

Tests

manually tested

blurred-video-overflow-fix-01.mp4
blurred-video-overflow-repro-02.mp4

Checklist

Only check items that apply to this PR; leave the rest unchecked.

  • If you changed anything user-facing (i.e. user interface or APIs):
    Did you update related docs?

  • If the change is notable (refer to Keep a Changelog conventions):
    Did you update CHANGELOG.md?

react-player emits a default 640x360 wrapper, so the blurred-video panel in
a manual review job spilled past its rounded/shadowed border, and the
Infinity defaults produced invalid 'max-width: Infinity'. Clip the wrapper
and only pass finite max-* styles.

Co-Authored-By: Claude <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

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.

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.

Blurred-video player overflows its rounded frame

1 participant