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

Restrict zoom to a container #2

Closed
baljit92 opened this issue Sep 16, 2018 · 3 comments
Closed

Restrict zoom to a container #2

baljit92 opened this issue Sep 16, 2018 · 3 comments

Comments

@baljit92
Copy link

Hi,

Whenever I zoom into the image; it gradually starts covering the whole browser window. Is it possible to restrict the image inside a container and whenever zoomed in; it does not cover the whole browser window

@bdbch
Copy link

bdbch commented Sep 18, 2018

@baljit92 you could wrap the Zoom Container with another container which will prevent the image to overlap.

@ajainarayanan
Copy link
Owner

Closing due to lack of no activity.

@MonkeyJumps
Copy link

MonkeyJumps commented Mar 8, 2019

@baljit92 you could wrap the Zoom Container with another container which will prevent the image to overlap.

do you have an example of this suggestion? My attempts have failed.
found one here https://codesandbox.io/s/94qpwjqr6p

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

No branches or pull requests

4 participants