I'm submitting a bug report
-
Library Version:
master
-
Language:
all
Current behavior:
When using EventElements.subscribe, the listener will be set with useCapture = true, which is not the standard behavior of the native addEventListener() function and thus confuses the developer.
-
What is the expected behavior?
EventElements.subscribe (and subscribeOnce) should use set useCapture to false by default.
-
What is the motivation / use case for changing the behavior?
Mimic native API of the browser: addEventListener would set useCapture to false if not passed in arguments.