-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 can't scroll video playback speed when fullscreen #51112
Fix can't scroll video playback speed when fullscreen #51112
Conversation
@paultsimura Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
if (videoPlayerElementParentRef.current && 'addEventListener' in videoPlayerElementParentRef.current) { | ||
videoPlayerElementParentRef.current.addEventListener('wheel', stopWheelPropagation); | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I modified the solution a bit so we only register when the full screen is present. This way, we won't have a listener for each video player.
Reviewer Checklist
Screenshots/VideosAndroid: Native![Screenshot_1729332437](https://github.com/user-attachments/assets/cac958fc-4cb9-4eeb-91c0-66bd2d844afe)Android: mWeb Chrome2024-10-19.-.12.08.-.chrome.mp4iOS: Native![Uploading Simulator Screenshot - iPhone 15 Pro - 2024-10-19 at 12.05.53.png…]()iOS: mWeb Safari![Simulator Screenshot - iPhone 15 Pro - 2024-10-19 at 12 09 06](https://github.com/user-attachments/assets/4426165c-2398-4988-b6f6-26a5ae582e75)MacOS: Chrome / Safari2024-10-19.-.12.08.-.Screen.Recording.2024-10-19.at.12.00.48.mp4MacOS: Desktop2024-10-19.-.12.08.-.Screen.Recording.2024-10-19.at.12.03.02.mp4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM ✔️
@yuwenmemon looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
False positive, check the latest build -tests were passing. |
🚀 Deployed to staging by https://github.com/yuwenmemon in version: 9.0.52-0 🚀
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 9.0.52-5 🚀
|
Details
We can't scroll the video playback speed while fullscreen.
Fixed Issues
$ #50813
PROPOSAL: #50813 (comment)
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
There is no playback speed in Android
iOS/iOS mWeb playback speed isn't scrollable
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
android.mp4
Android: mWeb Chrome
android.mweb.mp4
iOS: Native
ios.mp4
iOS: mWeb Safari
ios.mweb.mp4
MacOS: Chrome / Safari
web.mp4
MacOS: Desktop
desktop.mp4