Skip to content

Allow user to disable setting overflow hidden on the html body #1010

@ekoputrapratama

Description

@ekoputrapratama

Description

I have a personal website that try to use this library, but everytime onZoomChange it reset scroll position by setting overflow hidden in the body, the image that i want to zoom is at the bottom of the web page, so its kinda hassle to always reset the scroll position when i'm only want to see the zoom picture there. At least add a boolean prop that prevent bodyScrollDisable() from being called in zoom method. I actually in a hurry so i clone the project and change it myself, but now it seems i cant use it in github action if i'm not publishing it to npm. so if you are okay with it i do a pull request and use your package instead. thanks.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions