Crop Area Top Offset, Vertically Off When Window Is Scrolled
-
Hi there,
Awesome Plugin!
I have been experimenting with this and ran into a small issue with the modal box. Here’s a Screenshot
When I click the ‘crop’ button without scrolling, everything works just fine. However, if I click on the button after having scrolled, the crop area vertical alignment is offset by exactly the amount that I’ve scrolled.
I believe that this is caused by the fixed positioning of the crop area items that get appended at the end of the document. Instead of positioning the ‘top’ of these crop area items based on the document, I think it would be better to positioning the crop area items based on the .crop-image img.
I’ve been tinkering around in ~/wp-content/plugins/acf-image-crop-add-on/js/input.js but I can’t seem to figure out how to fix the positioning.
- The topic ‘Crop Area Top Offset, Vertically Off When Window Is Scrolled’ is closed to new replies.