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

Scroll to scroll the images, Ctrl + Scroll for zoom #528

Open
lublak opened this issue Feb 5, 2022 · 4 comments
Open

Scroll to scroll the images, Ctrl + Scroll for zoom #528

lublak opened this issue Feb 5, 2022 · 4 comments

Comments

@lublak
Copy link

lublak commented Feb 5, 2022

Describe the solution you'd like

It would be handy if you can scroll through the images. So you can use Ctrl + Scroll for zooming as known in the browser.

Describe alternatives you've considered

Realize this possibility through the methods.

@fengyuanchen
Copy link
Owner

Why?

@lublak
Copy link
Author

lublak commented Feb 7, 2022

@fengyuanchen
The reason lies in the mouse users. For them it is easier to scroll to get through the gallery. The left Ctrl key can then be operated with the left hand or right for left-handers.
The navigation with the arrow keys is rather unpleasant for right-handers because they are very far to the right in the keyboard. Mostly you use the right hand for this, which of course has to be taken from the mouse.
Scrolling is also advantageous when you have to scroll quickly through many pictures.

@fengyuanchen
Copy link
Owner

Do you know of other image gallery libraries that already implement these behaviors? If so, please give me some examples.

@lublak
Copy link
Author

lublak commented Feb 9, 2022

I don't know alot of image viewer libraries in javascript. But i know this feature from windows image viewer:
https://www.howtogeek.com/755899/how-to-scroll-through-photos-lightning-fast-on-windows-10/ @fengyuanchen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants