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

Can it be used inside a div element? Does it have to be only for scaling images? #33

Open
9yues opened this issue Oct 25, 2023 · 2 comments

Comments

@9yues
Copy link

9yues commented Oct 25, 2023

Can it be used inside a div element? Does it have to be only for scaling images?

@cotton123236
Copy link
Owner

Hey @9yues ,
It's possible to be used on any element!, make sure you're using zoomist version 2.x and you can zooming anything you want in .zoomist-image (checkout v2 on github).

@ukizet
Copy link

ukizet commented Dec 3, 2023

@cotton123236 why can't I click on the button inside the zoomist-image container? I tried clicking on the button inside the zoomist-wrapper container and it works, but then I can't zoom into button. What can I do to be able to both zoom in and click on the button?

Codesandbox example

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

3 participants