Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 'shaka-video-container' class being removed from video container #6090

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

OothecaPickle
Copy link
Contributor

@OothecaPickle OothecaPickle commented Nov 4, 2024

Fix 'shaka-video-container' class being removed from video container

Pull Request Type

  • Bugfix
  • Feature Implementation
  • Documentation
  • Other

Related issue

further resolves #5838

Description

When Vue adds dynamic classes to the video container for full window mode or forcing a 16:9 aspect ratio, the shaka-video-container class is inadvertently removed from the video container element.

Because the upstream CSS that hides the cursor is applied to .shaka-video-container.no-cursor, this results in the cursor no longer hiding when viewing 4:3 aspect ratio videos or after toggling full window mode on any video.

Screenshots

Testing

Before fix:
View a 4:3 aspect ratio video or toggle full window mode on any video, see that theshaka-video-container class is improperly removed from the video container element and that the cursor is not properly hidden.

After fix:
View a 4:3 aspect ratio video or toggle full window mode on any video, see that theshaka-video-container class remains and that the cursor is properly hidden.

Desktop

  • OS: macOS
  • OS Version: 10.15.7
  • FreeTube version: 7278c36

Additional context

@github-actions github-actions bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Nov 4, 2024
@FreeTubeBot FreeTubeBot enabled auto-merge (squash) November 4, 2024 04:18
Copy link
Collaborator

@PikachuEXE PikachuEXE left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@FreeTubeBot FreeTubeBot merged commit 70be7ae into FreeTubeApp:development Nov 7, 2024
5 checks passed
@github-actions github-actions bot removed the PR: waiting for review For PRs that are complete, tested, and ready for review label Nov 7, 2024
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]: Cursor no longer automatically hides alongside player controls
5 participants