On one of my websites, I have a div that contains an image that is wider than the div itself. To view the entire image, it needs to be moved using the mouse.
However, I have encountered a problem when moving the image to the right and in other directions - it extends beyond the edge instead of stopping where it should.
I have tried some solutions:
{containment: "parent"}
But when moving the image, it seems to jump randomly and stop unexpectedly. Additionally, the cursor does not change to the move cursor as expected using this code:
{cursor: "move"}
Here is a link to the page where the issue is occurring: