0

I have a weird bug in my web application. Say, I have two input box on my page: Input-A and Input-B.

When I focus on Input-A, and when there is a somewhat event triggered, the focus will jump to Input-B. However, I didn't write any code to change the focus. The event also has nothing to do with focus changing, at least I didn't find it.

Therefore, I'm wondering if there is anyway to find out who trigger the focus to change. Or, can I trace the focus event?

I use JavaScript and AngularJS and Firebase.

Thanks.

Kato
  • 40,352
  • 6
  • 119
  • 149
lazywei
  • 11,955
  • 5
  • 20
  • 25

0 Answers0