swiper
swiper copied to clipboard
Add ability to pan around a zoomed in image by moving the mouse
Clear and concise description of the problem
Currently, when you zoom in to an image, you have to click to grab the image and then drag it around to pan around the image.
Once zoomed in, I would like to be able to simply move my mouse to pan around the image.
Suggested solution
Either enable panning by mouse movement/hover by default, or add a new parameter (e.g. panOnHover) to the zoom module
Alternative
No response
Additional context
No response
Validations
- [X] Follow our Code of Conduct
- [X] Read the docs.
- [X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Would you like to open a PR for this feature?
- [X] I'm willing to open a PR