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: save scroll position on exit from video xblock fullscreen mode #31061

Conversation

ihor-romaniuk
Copy link
Contributor

This merge request contains a fix for toggling video xblock full-screen mode and saving the previous window top offset position on exit from the full-screen state.

A related bug was found here https://bugs.chromium.org/p/chromium/issues/detail?id=142427 but it still reproduces.

Realised solution: Save the scroll position before the turn on the fullscreen mode and scroll to the previous position on turn off the fullscreen mode.

Dependent PR to MFE Learning:
This MR openedx/frontend-app-learning#983 must be merged with this MR.

@openedx-webhooks
Copy link

Thanks for the pull request, @ihor-romaniuk! Please note that it may take us up to several weeks or months to complete a review and merge your PR.

Feel free to add as much of the following information to the ticket as you can:

  • supporting documentation
  • Open edX discussion forum threads
  • timeline information ("this must be merged by XX date", and why that is)
  • partner information ("this is a course on edx.org")
  • any other information that can help Product understand the context for the PR

All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here.

Please let us know once your PR is ready for our review and all tests are green.

@nedbat
Copy link
Contributor

nedbat commented Oct 31, 2022

📣 💥 Heads-up: You must either rebase onto master or merge master into your branch to keep passing required checks.

We added a new required check, "Tests Successful," that this PR does not yet run. Rebasing will get it started.

If you have any questions, please reach out to the Architecture team (either #architecture on Open edX Slack or #external-architecture on edX internal Slack).

@ihor-romaniuk ihor-romaniuk force-pushed the fix/scroll-position-on-exit-from-video-fullscreen-mode-master branch from d58f41f to eacb86a Compare November 4, 2022 08:50
@ihor-romaniuk
Copy link
Contributor Author

@nedbat Brunch was updated and ready for review.

@jmakowski1123 jmakowski1123 added the product review PR requires product review before merging label Dec 12, 2022
@mphilbrick211
Copy link

@ProductRyan @jmakowski1123 this looks ready for Product review.

@mphilbrick211
Copy link

Hi @ProductRyan - just checking to see if you've had a chance to take a look at this?

@ihor-romaniuk ihor-romaniuk force-pushed the fix/scroll-position-on-exit-from-video-fullscreen-mode-master branch from fbaaa0f to 9ac109e Compare March 3, 2023 10:45
@mphilbrick211
Copy link

4/5/23 - Product review complete.

@openedx/content-aurora @mattcarter - is this something you can take a look at for review / merge? This PR is related to the other "scroll position" PRs listed here: #31053.

@mphilbrick211 mphilbrick211 removed the bug Report of or fix for something that isn't working as intended label Apr 5, 2023
@mphilbrick211
Copy link

Hi @ihor-romaniuk! While this is in review, would you mind re-running the tests on this PR? We've had a couple new ones pop up (shellcheck). Thanks!

@mphilbrick211
Copy link

@openedx/content-aurora @mattcarter - Hi there! Just seeing if you are able to review/merge this for us? Thanks!

@mphilbrick211
Copy link

@openedx/content-aurora @mattcarter - Hi there! Just seeing if you are able to review/merge this for us? Thanks!

Hi @mattcarter @openedx/content-aurora! Friendly ping on this :)

Copy link
Contributor

@leangseu-edx leangseu-edx left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@mphilbrick211
Copy link

LGTM 👍

THanks, @leangseu-edx! Do you know who could get this merged for us?

@leangseu-edx leangseu-edx merged commit 9e0b59f into openedx:master Jun 21, 2023
@openedx-webhooks
Copy link

@ihor-romaniuk 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future.

@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production.

@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production.

@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
open-source-contribution PR author is not from Axim or 2U product review PR requires product review before merging
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

9 participants