disables page scroll when pressing spacebar #4204
No reviewers
Labels
No labels
accessibility
app-parity
area: creator
area: daemon
area: design
area: devops
area: discovery
area: docs
area: installer
area: internal
area: livestream
area: performance
area: proposal
area: reposts
area: rewards
area: search
area: security
area: subscriptions
area: sync
area: ux
area: viewer
area: wallet
BEAMER
channel
comments
community PR
consider soon
core team
css
dependencies
electron
Epic
feature request
first-timers-only
good first issue
hacktoberfest
help wanted
hub-dependent
icebox
Invalid
level: 0
level: 1
level: 2
level: 3
level: 4
merge when green
needs: exploration
needs: grooming
needs: priority
needs: repro
needs: tech design
notifications
odysee
on hold
playlists
priority: blocker
priority: high
priority: low
priority: medium
protocol dependent
recsys
redesign
regression
resilience
sdk dependent
Tom's Wishlist
trending
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
type: testing
unplanned
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/lbry-desktop#4204
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/3870-prevent-spacebar-from-scrolling-page"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
PR Checklist
Please check all that apply to this PR using "x":
PR Type
What kind of change does this PR introduce?
Fixes
Issue Number: #3870
What is the current behavior?
If playing a video and then navigating to a new page to cause the miniplayer to appear out of focus, pressing spacebar causes the video to pause and the page to scroll down in the background.
What is the new behavior?
Ensures that pressing spacebar only pauses the video on the miniplayer and doesn't cause the page to scroll.
Other information
Two small comments.
Can you move this up to the unreleased section?
The second argument to this effect should be
[]
so it isn't re-ran on every renderThis looks like it's already under the unreleased section, did you want me to move it from
Fixed
toChanged
maybe?Ahh good catch, thanks Sean! Updated
@seanyesmunt I just wanted to check in when you have a sec. I updated and pushed up the
view.jsx
file already, but didn't touch theCHANGELOG.md
yet because it was already in the Unreleased section when I checked, but maybe I'm confused there. Let me know if you need any other changes, thanks!Sorry. I didn't realize it was already in the correct section.
Nope. Sorry we've been pretty busy with paid content on lbry.tv. I'll give this another pass/merge later tonight or tomorrow morning.
Sounds good, no rush!
@cassidypignatello Can you please rebase this? It looks like it includes a lot of changes that have already been merged to master.
@seanyesmunt No problem, I just rebased this. Let me know if you need anything else!