edx-platform icon indicating copy to clipboard operation
edx-platform copied to clipboard

fix: save scroll position on exit from video xblock fullscreen mode

Open ihor-romaniuk opened this issue 2 years ago • 3 comments

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 https://github.com/openedx/frontend-app-learning/pull/983 must be merged with this MR.

ihor-romaniuk avatar Sep 29 '22 06:09 ihor-romaniuk

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.

openedx-webhooks avatar Sep 29 '22 06:09 openedx-webhooks

📣 💥 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).

nedbat avatar Oct 31 '22 19:10 nedbat

@nedbat Brunch was updated and ready for review.

ihor-romaniuk avatar Nov 04 '22 09:11 ihor-romaniuk

@productryan @jmakowski1123 this looks ready for Product review.

mphilbrick211 avatar Dec 16 '22 17:12 mphilbrick211

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

mphilbrick211 avatar Feb 07 '23 19:02 mphilbrick211

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 avatar Apr 05 '23 14:04 mphilbrick211

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 avatar Apr 25 '23 17:04 mphilbrick211

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

mphilbrick211 avatar May 05 '23 19:05 mphilbrick211

@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 :)

mphilbrick211 avatar Jun 01 '23 18:06 mphilbrick211

LGTM 👍

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

mphilbrick211 avatar Jun 20 '23 18:06 mphilbrick211

@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.

openedx-webhooks avatar Jun 21 '23 17:06 openedx-webhooks

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

edx-pipeline-bot avatar Jun 21 '23 19:06 edx-pipeline-bot

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

edx-pipeline-bot avatar Jun 21 '23 19:06 edx-pipeline-bot

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

edx-pipeline-bot avatar Jun 21 '23 19:06 edx-pipeline-bot

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

edx-pipeline-bot avatar Jun 21 '23 20:06 edx-pipeline-bot