Skip to content

Feat: Add Zoom-on-Scroll Support in Media View #528

@rohan-pandeyy

Description

@rohan-pandeyy

Describe the feature

When an image is open in the media view mode, scrolling with the mouse wheel (or equivalent touchpad gesture) should zoom the image in or out, instead of performing a default scroll.

One can capture mouse wheel events when an image is open in media view mode and implement zoom in/out behavior mapped to scroll direction (scroll up => zoom in, scroll down => zoom out).

Kindly ensure a smooth zoom transitions for a better user experience.

Add ScreenShots

An example of Zoom-on-Scroll:
(Every place the mouse goes, I am scrolling up and down on the mouse wheel, and we are zooming in and out respectively)

20250923-2048-01.9350038.mp4

Record

  • I agree to follow this project's Code of Conduct
  • I want to work on this issue

Checklist before Submitting.

  • Have you updated docs for it?.
  • Have you added unit tests?.
  • Have you made sure unit tests pass?
  • Have you made sure code formatting is correct?
  • Does it contain any style related issues?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions