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(SUP-46391): Player Live Full Screen Bug when browser window is not maximized #976

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

yambenari24
Copy link

@yambenari24 yambenari24 commented Jan 22, 2025

Issue:
When browser width is small, side pannel is on, and enter full screen, there is a gap between side pannel and player.

Fix:
Fix timing issue : the layout was updated too early. make sure the layout gets the right layout on the right timing.

solved SUP-46391

@@ -212,7 +213,7 @@ class Shell extends Component<any, any> {
*/
componentDidMount() {
const {player, eventManager} = this.props;
eventManager.listen(window, 'resize', debounce(this._onWindowResize, ON_PLAYER_RECT_CHANGE_DEBOUNCE_DELAY));
eventManager.listen(window, 'resize', debounce(this._onWindowResize, RESIZE_DEBOUNCE_DELAY));
Copy link
Collaborator

Choose a reason for hiding this comment

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

this fix is only for fullscreen, right ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants