Questions tagged [mouseup]

Mouseup is a browser event that occurs when a user release the mouse button (lets it up) on an element.

Mouseup is a browser event that occurs when a user releases the mouse button on an element. It usually occurs right after a mousedown event (when the user clicks the mouse button down), and is part of an onclick event, which comprises both the click down and release of the mouse.

220 questions
5
votes
3 answers

Javascript mousup event triggers very late

I have a jquery sorting plugin which works pretty fine, but if I make few dragging operations the mouseup event starts to be very slow. It takes about 1 second while it triggers the event. If I dump end of mousemove event it stops immediately but…
Čamo
  • 3,863
  • 13
  • 62
  • 114
5
votes
1 answer

mousedown and mouseup triggered on touch devices

Just curious about the purpose of mousedown and mouseup events since they are triggered also on touch devices. I thought that mousedown and touchstart are mutually exclusive (the former working on desktop while the latter on touch devices) and the…
revy
  • 3,945
  • 7
  • 40
  • 85
5
votes
2 answers

WindowsForm MouseUp fires twice when using Process.Start()

In my Windows Forms Application I have to open a new explorer window with a specific folder if one of the items is clicked. I am listening for the MouseUp event (because i already have some hit detection for which i need the click coordinates) now…
MatzeBrei
  • 63
  • 6
5
votes
1 answer

Handle 'mouseleave' while 'mousedown'

I created a custom button with a div that has a unique border style. I'm trying to handle 'mousedown' to toggle border colours to give the illusion of indent. Then handle 'mouseup' to toggle back to default. The issue is when the mouse leaves the…
Lightfooted
  • 799
  • 1
  • 6
  • 13
5
votes
2 answers

jQuery mouseup not being fired when mousemove on image

When you mousedown on an image, move the mouse (mousemove) a little bit and then release (mouseup), mouseup is not fired with jQuery. jsfiddle: http://jsfiddle.net/kVFTZ/ Why is this? How can I make it work when moving on an image?
user1643156
  • 4,407
  • 10
  • 36
  • 59
4
votes
2 answers

How to do a work when mousedown until mouseup?

I'm making a simple player motion in Javascript canvas. (Up down left right) I created 4 buttons on screen for mobile players. I used the following code for the buttons as I wanted to move the player until the button is…
Ruthvik
  • 790
  • 5
  • 28
4
votes
1 answer

Why can I off a mousedown event, but not its chained mouseup event?

I have two chained mouse-events: $('body > form').on("mousedown", function(e){ //Do stuff }).on("mouseup", function(){ /*More stuff, including window.addEventListener(... */ }); However, when I try to off() them both from…
rudminda
  • 137
  • 12
4
votes
0 answers

jQuery mouseup() occasionally not firing after button release

I have created a sketchpad, let's call it, which you can hover over and it will change color wherever your mouse is if your left button is pressed, giving the effect of drawing on the sketchpad. When you release the button it should of course stop…
Burkely91
  • 902
  • 9
  • 28
4
votes
3 answers

Jquery mousedown/mouseup prevent click

My page is built like that: …
Yukuza
  • 53
  • 1
  • 5
4
votes
1 answer

jquery show hide problems using a select box/dropdown

I have a word inside of a div. that's part of a drop down but the drop down is hidden, the specific focus is on "DC" right now... in the image below were looking at sales: HTML:
Test
...... ......