Skip to content

Fix issue with scrolling the page #3326

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

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

Conversation

seagullua
Copy link
Contributor

When the page contains cocos2d-html5 canvas and you put the mouse pointer over it, the scroll wheel does not work. For games which are used inside Facebook Canvas the scroll feature should work.

This fix disables the preventing of default scrolling when the mouse wheel is used.

@pandamicro
Copy link
Contributor

Hi, I think we should use a setting configuration to enable or disable the default scrolling, because there may be some games which don't want the default behavior

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.

2 participants