We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I don't know if it is a bug or problem of the browser... but after I put the mouse over the image, the Drift-Zoom is loading again the same image.
In my case, I have a big image that I resize by CSS, and I would like to use the same image to the zoom.
Is there any way to fix it?
The text was updated successfully, but these errors were encountered:
My code:
import Drift from 'drift-zoom'; // ... componentDidMount() { driftInstance = new Drift(document.querySelector(".drift-trigger"), { paneContainer: document.querySelector('.drift-detail'), containInline: true, hoverBoundingBox: true, zoomFactor: 3, inlinePane: 720, }); }
<div className="image-wrapper"> <img className="drift-trigger" src="myimage.jpg" data-zoom="myimage.jpg"/> <div className="drift-detail"/> </div>
Sorry, something went wrong.
No branches or pull requests
I don't know if it is a bug or problem of the browser... but after I put the mouse over the image, the Drift-Zoom is loading again the same image.
In my case, I have a big image that I resize by CSS, and I would like to use the same image to the zoom.
Is there any way to fix it?
The text was updated successfully, but these errors were encountered: