Skip to content

Improve control overlays and video aspect ratio#16

Merged
BackGwa merged 1 commit intodevelopfrom
features/improve-overlay-ui
Jan 13, 2026
Merged

Improve control overlays and video aspect ratio#16
BackGwa merged 1 commit intodevelopfrom
features/improve-overlay-ui

Conversation

@BackGwa
Copy link
Owner

@BackGwa BackGwa commented Jan 13, 2026

Description

Improves the mobile/tablet control overlay behavior so it appears on tap and hides when appropriate, while shrinking the visible video area and applying rounded corners during overlay display. Adds an aspect-fit frame to keep the video contained without zooming or cropping, and refines styles to keep layout and background presentation consistent.

Type of Change

  • Bug fix (bugs/)
  • New feature (features/)
  • Refactoring (refactor/)
  • Hotfix (hotfix/)
  • Chore (chore/)

Changes Made

  • Add useControlsOverlay hook for overlay visibility management
  • Introduce useAspectFit hook for video aspect ratio handling
  • Update HostControls and ParticipantControls with overlay props
  • Adjust SCSS for smoother overlay transitions and frame display
  • Modify styles to unify background and improve consistency

Checklist

  • Code follows the project's coding style
  • Self-review completed

- Add `useControlsOverlay` hook for overlay visibility management
- Introduce `useAspectFit` hook for video aspect ratio handling
- Update `HostControls` and `ParticipantControls` with overlay props
- Adjust SCSS for smoother overlay transitions and frame display
- Modify styles to unify background and improve consistency
@BackGwa BackGwa added the enhancement New feature or request label Jan 13, 2026
@BackGwa BackGwa merged commit 462b4c5 into develop Jan 13, 2026
4 checks passed
@BackGwa BackGwa deleted the features/improve-overlay-ui branch January 13, 2026 03:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant