Comments (3)
Would it be possible for you to reproduce this issue in codepen?
from zooming.
Here you are:
https://codepen.io/piixiiees/pen/abZOJzJ
from zooming.
Thanks! I don't have much bandwidth to work on this, but feel free to give it a try.
You probably want to begin with understanding the Zooming.open() method, more specifically these method calls which basically translate & transform the target image and then inject the overlay element. We're currently calculating the transformation and inserting the overlay based on the element's document window, that's why we faced this issue. Therefore, we need to do those operations against the root window instead of the iframe window. I guess one key thing is to get the position of the image relative to the root window instead of the iframe window, which might not be very straightforward.
Anyway, that's my thoughts and if you still want to give it a shot, feel free to do so and let me know if you have any questions!
from zooming.
Related Issues (20)
- Seeking Maintainers HOT 2
- there is differents between 2 situations HOT 1
- it did not work for me HOT 2
- Can I have more control over when zoom closes?
- Acess the template wrapper HOT 1
- zooming videos HOT 4
- Strange behavior when zoom animation is activated HOT 3
- further zoom in HOT 5
- Add option for cursor customization HOT 1
- Scale to full size of high res image. HOT 1
- Add config option to specify parent container for overlay
- click once to resize HOT 4
- Thanks for an excellent tool! HOT 1
- Closing on scroll doesn't occur as expected
- Implement event delegation!
- No zooming when img as link HOT 2
- Add an id to zoomed image or zoom div?
- Grab Strength/Distance
- Bug encountered when using zooming.js in Vue.js.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zooming.