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

Propagate mousewheel event if ctrl key is pressed. #331

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

Conversation

andkorsh
Copy link

@andkorsh andkorsh commented Aug 1, 2015

Typical browser behaviour allow us to zoom the page in/out by mouse wheel with control key pressed. It would be better if this behaviour still the same (Issue #319).

My change have been made and tested with Windows PC in Chrome and IE. I thought about Macs and I tried to test it on OS X Yosemite but it has no zoom feature by mousewheel at all. I googled how it can be enabled and found the following topic http://forums.macrumors.com/threads/zoom-with-control-mouse-wheel.1411306/ But after enabling "Use scroll gesture with..." nothing has changed and I decided to leave it as it is. By the way, jQuery.mousewheel event has no property commandKey and it should be determined by keyCode :)

@andkorsh andkorsh changed the title Propagate mousewheel event if ctrl key is pressed. Issue #319. Propagate mousewheel event if ctrl key is pressed. Aug 1, 2015
@fdewannemaeker
Copy link

Hi, any idea why your solution was not merged yet? Is there a better way of achieving the same result? Thanks for reply

@andkorsh
Copy link
Author

andkorsh commented Oct 15, 2016

@fdewannemaeker Hi! Actually I have no idea sorry :) I don't even know whether it still compatible with current version or not.

BTW, finally I've modified the library about 10 times and now we are using this custom version for more than one year. It's really the best library for scrolling.

@grrakesh4769
Copy link

would be better, if it's an option rather than the default behaviour

@Rem486
Copy link

Rem486 commented Oct 20, 2021

Is there a better solution now?

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.

4 participants