fix: save scroll position on exit from video xblock fullscreen mode
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/981 must be merged with this MR.
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.
Hi @ihor-romaniuk! Just checking in on this to see if you plan on re-running the failing checks?
Hi @mphilbrick211. I have updated brunch and it's ready for review.
Thanks @ihor-romaniuk! I will find someone to review.
@arbrandes @brian-smith-tcril - hi there! Would you mind reviewing this?
@jmakowski1123 - this should have a product review as well - please let me know who will be taking a look at it.
Thanks!
Friendly ping on this @jmakowski1123!
@jmakowski1123 and @ProductRyan flagging for you! Still needs product review :)
Hi @brian-smith-tcril Your comment was fixed. Also, additional information were added there https://github.com/openedx/platform-roadmap/issues/229 about fixes.
@ProductRyan - is this good-to-go on your end?
4/5/23 - Product review complete.
@openedx/content-aurora @mattcarter - is this something you can take a look at? Other related PRs are #31871 #31055 and #31061. Thank you!
4/5/23 - Product review complete.
@openedx/content-aurora @mattcarter - is this something you can take a look at? Other related PRs are #31871 #31055 and #31061. Thank you!
Hi @mattcarter @openedx/content-aurora! Friendly ping on this.
Friendly ping on this @mattcarter and @openedx/content-aurora :)
@mattcarter @openedx/content-aurora re-flagging this.
Hi @leangseu-edx! Can you or someone from your team merge this for us?
@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.