re: Swipe Gallery using Vue.js & Tailwind - WotW VIEW POST


Hi there Eder!

Beautiful article!

Just a question: When i use my mouse to drag the image either left or right, if the mouse gets outside the mobile-container the dragging stops and the image stays to the position it was before mouse left the mobile-container. If i go back to the mobile-container with my mouse the image is like sticking on the mouse cursor and follows it. If i left click inside the mobile-container then the image will behave like it should, meaning it will switch to the image that had larger % into view.

Any idea why i get this?

Code of Conduct Report abuse