javascript

Html5 Drag and Drop, Mousewhell event is not fired after dragstart  #angularjs #reactjs

  • Stack Overflow works best with JavaScript enabled
  • @guest271314 jsfiddle.net/uo00zL0L open console, then start dragging div, hold mouse and try to use wheel, you will see no events printed out – Volodymyr Bilyachat 3 hours ago
  • I have app where I am doing html5 drag and drop for category sorting, so user can take category and move somewhere he wants.
  • Is sample code if you start dragging div and scroll wheel on mouse no event printed to console.
  • Everything is fine but sometimes list of categories are huge and if user needs to move it down they want to use mouse wheel to scroll, but the problem is that after dragstart this event is not fired.

I have app where I am doing html5 drag and drop for category sorting, so user can take category and move somewhere he wants.

@ng_real_ninja: Html5 Drag and Drop, Mousewhell event is not fired after dragstart #angularjs #reactjs

I have app where I am doing html5 drag and drop for category sorting, so user can take category and move somewhere he wants.

Everything is fine but sometimes list of categories are huge and if user needs to move it down they want to use mouse wheel to scroll, but the problem is that after dragstart this event is not fired.

PS. Yes if cursor is moved to bottom then browser will scroll but in my app user experience matter since some times they are sorting around 50 categories and it takes alot of time

Here is sample code if you start dragging div and scroll wheel on mouse no event printed to console.

javascript

You might also like More from author

Comments are closed, but trackbacks and pingbacks are open.