Conversation
📝 WalkthroughWalkthroughThe resize handling mechanism in the video render floating component is refactored to use a ResizeObserver watching the primary player wrapper element instead of relying on global window resize events. This enables targeted detection and response to element-specific resize changes. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
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. Comment |
Fixes
Issue Number: #3406
What is the current behavior?
When theater mode is enabled on a livestream it works, but if it is disabled the video and the livestream chat overlap
What is the new behavior?
This PR uses resize observer to dynamically report on changes
Other information
PR Checklist
Toggle...
What kind of change does this PR introduce?
Please check all that apply to this PR using "x":
Summary by CodeRabbit
Bug Fixes
Performance
✏️ Tip: You can customize this high-level summary in your review settings.