pressed and released on the same object.
I have problem with this definition. bcs when you have a carousel and you click on a card, then drag it left or right and mouseUp then you mouseDown and mouseUp on the same object and it will follow that card's Link bcs onClick triggered on this process. wtf , what is my mistake? I preventDefault anything I could
I made the worst solution ever had:/ onMouseMove I added an absolute empty element (with ZERO opacity) that cover the card, and at mouseUp I make its display none ... so the mouse down occur on card but mouse up occur on this cover and it's not same object anymore how ever it works perfectly but it's worst solution I ever see in my life. please tell me there is another solution:(
Обсуждают сегодня