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

Keep Firefox from scrolling right when in presentation #153

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

theurere
Copy link
Contributor

Keep Firefox window from scrolling right when using the right arrow key in presentations.

.mainPresentation #presentation {
display: block;
.mainPresentation {
position: fixed;
Copy link
Contributor

Choose a reason for hiding this comment

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

I am still not convinced that this is a valid solution. This still scrolls right, you just do not see it because the thing you see is fixed. If the presentation is closed you are still scrolled to the right (i guess).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated to use js event.preventDefault.

@fancycode
Copy link
Member

This probably needs to be modified now that presentations are loaded in sandboxed iframes, please check.

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