brochington Posted August 18, 2016 Share Posted August 18, 2016 Hello! I'm having a strange issue where my events seem to take longer after some (seemingly) unrelatedinteraction with other elements on the page. I'm implementing a very basic dragging functionality, which works pretty well on first pageload. However, the more I interact with the page, the longer the mouse move events I'm using take to complete. I am not "re-adding" the events after each interaction. Any ideas what might be causing this? I've attached some images of the devtools timeline to better illustrate the issue. Quote Link to comment Share on other sites More sharing options...
whizzkid74 Posted August 22, 2016 Share Posted August 22, 2016 I'm just guessing here since you didn't post any code. Are you adding on("mousemove".. ) events on your onmousedown? If so, are you sure you also REMOVE them in your onmouseup ? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.