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 scrolling using Shift+Spacebar in Firefox #4393

Merged
merged 1 commit into from
Mar 6, 2014
Merged

Fix scrolling using Shift+Spacebar in Firefox #4393

merged 1 commit into from
Mar 6, 2014

Conversation

Snuffleupagus
Copy link
Collaborator

After #4224, scrolling using Shift + Spacebar doesn't work in Firefox, unless another navigation key was pressed before it.

@Snuffleupagus
Copy link
Collaborator Author

/botio-windows preview

@pdfjsbot
Copy link

pdfjsbot commented Mar 5, 2014

From: Bot.io (Windows)


Received

Command cmd_preview from @Snuffleupagus received. Current queue size: 0

Live output at: http://107.22.172.223:8877/2e4d9eff0776492/output.txt

// 32=Spacebar
if (evt.keyCode === 32 && curElementTagName !== 'BUTTON') {
//#if (FIREFOX || MOZCENTRAL)
// // Workaround for issue in Firefox, that prevents scroll keys from working
Copy link
Contributor

Choose a reason for hiding this comment

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

could you move 'working' on the next line?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done.

yurydelendik added a commit that referenced this pull request Mar 6, 2014
Fix scrolling using Shift+Spacebar in Firefox
@yurydelendik yurydelendik merged commit b82af51 into mozilla:master Mar 6, 2014
@yurydelendik
Copy link
Contributor

thanks

@Snuffleupagus Snuffleupagus deleted the issue-4341-followup branch March 6, 2014 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants