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
www.auchan.fr - site is not usable #13443
Comments
Yes confirmed. |
on macos
|
This seems to refer to a mobile lib. Let's try with another product on macos. Using the same library. A.zoom.handlePanUpdate = function (t) {
if (!A.utils.isTrue(A.zoom.canMoveMouseForZoom)) {
if ('panmove' == t.type && A.zoom.scale != A.zoom.minScale) {
A.zoom.posX = A.zoom.lastPosX + t.deltaX,
A.zoom.posY = A.zoom.lastPosY + t.deltaY;
var e = A.zoom.scale / A.zoom.scaleStepper;
A.zoom.maxPosX = Math.ceil(e * A.zoom.galleryItemsEl[A.zoom.zoomIndex].clientWidth / 2),
A.zoom.maxPosY = Math.ceil(e * A.zoom.galleryItemsEl[A.zoom.zoomIndex].clientHeight / 2),
A.zoom.posX > A.zoom.maxPosX && (A.zoom.posX = A.zoom.maxPosX),
A.zoom.posX < - A.zoom.maxPosX && (A.zoom.posX = - A.zoom.maxPosX),
A.zoom.posY > A.zoom.maxPosY && (A.zoom.posY = A.zoom.maxPosY),
A.zoom.posY < - A.zoom.maxPosY && (A.zoom.posY = - A.zoom.maxPosY),
A.zoom.handlePanTransform()
}
'panend' == t.type && (A.zoom.lastPosX = A.zoom.posX, A.zoom.lastPosY = A.zoom.posY)
}
}, I wonder if the velocity computation of the image moving is the same in Firefox and Chrome. (note they seem to be using https://www.kameleoon.com/en/ which does A/B testing) |
A.zoom.handlePanTransform = function () {
1 == A.zoom.scale && (A.zoom.posX = 0, A.zoom.posY = 0),
A.zoom.transform = 'translate3d(' + A.zoom.posX + 'px,' + A.zoom.posY + 'px, 0) ',
A.zoom.galleryItemsEl[A.zoom.zoomIndex].style.webkitTransform = A.zoom.transform
}, This is a case here @digitarald where it is very hard to inspect events. Le's say you put a breaking point inside handlePanTransform(). The debugger will stop at the first interaction with the image but not necessary when we are inside the function. Then come an infinite not very fruitful, step forward dance to try to reach whichever meaningful part there is. :) Unsuccessful for this specific case. |
@denschub Do you have a strategy to handle these cases? |
ok they use https://hammerjs.github.io/recognizer-pan/ which has panmove and there are issues with pan events. In the code https://www.auchan.fr/_ui/v1566_738d5bea9ff4/mobile/js/gallery.mobilefirst.lazy.min.js this is the part which is listening on panmove and panend.
with DITM, I have set some console.log into ah and this seems to be pretty close. Let's move this to needscontact. |
|
Reaching out via website contact form: |
I retested the issue and it is still reproducible on my side. Tested with: |
The issue still occurs. Tested with: |
@softvision-oana-arbuzov Once You've zoomed in, can you pan like you want ? I've a glitch on my side |
Thanks @manuc66. After checking on Windows, and zooming in max the image, I can move the product, but indeed it is not smooth on Firefox. Tested with: Reopening the issue and moving back to Sitewait. [inv_18/2022] |
URL: https://www.auchan.fr/p-M1209496/gallery?index=0&firstcolor=
Browser / Version: Firefox 59.0
Operating System: Linux
Tested Another Browser: Unknown
Problem type: Site is not usable
Description: Pan on the image is not usable
Steps to Reproduce:
Open the image an push the left button down while moving the mouse.
The image does not move as is does on chrome
layout.css.servo.enabled: true
From webcompat.com with ❤️
The text was updated successfully, but these errors were encountered: