Relative Content

Tag Archive for javascripteventsevent-handling

Why does the input event of a number control fire twice when using a Breakpoint?

I have an input type=number control and am listening to its input event. The event is triggering as expected and my event handler is firing as expected as well. However, if and only if I place a breakpoint inside of the event handler and I use the number arrows to change the value, the event handler is getting called twice – When I don’t use a breakpoint, the event handler is fired once (as expected).