I bind keyDown, keyPress and keyUp events to a text input. I need to prevent keyUp from firing on certain cases that I can trap in keyDown or keyPress.
So far I’ve tried preventDefault and stopPropagation but none worked so far.
Is it possible that I prevent the keyUp event from firing?
you cannot prevent one event from the other
subscribe to the keyUp event and prevent it from there using preventDefault