I have a button on an AngularJS page that has numerous directives, and when tabbing to the button after a second or so it blurs. I can stop the blur event itself by adding an ng-blur and issuing a preventDefault(), but I'd like to be able to filter out when to preventDefault based on the cause of the blur. Is there any way to find out what the original source of the blur was?

Within the blur event handler I did a JQuery for (':focus') and it's empty, so that doesn't help for identification purposes. I also didn't find anything useful in the $event object passed into the event handler.

Also, the problem is exclusive to MS Edge, sorry for omitting this originally.

Any ideas?

Thanks,

Matt