Getactiondata outside of scheduler still returns data

I have a custom drag drop function which uses mouse up on body via jquery. When I call getActionData while the mouse is outside of the scheduler I still get a section and date returned. Why is this?

It’s how getActionData works. It will return section and date at the edge.
If you don’t want to perform some action if mouse is outside scheduler you could check mouse position.
Possibly, something like this:

if($('#scheduler_here:hover').length != 0){
   /*...*/
}