dash-extensions icon indicating copy to clipboard operation
dash-extensions copied to clipboard

Add support for useCapture in EventListener

Open dales opened this issue 2 years ago • 3 comments

I am trying to listen for an element scroll event, but AFAIK the event for the scroll does not bubble up and this causes the EventListener to not receive the event. From my understanding, if you add useCapture=true to the addEventListener this should solve the problem

addEventListener(type, listener, useCapture)

Can this property be exposed? (with default as false to avoid regressions)

dales avatar Apr 25 '23 08:04 dales

I have added support in the latest 1.0.11 release. Could you test if it works as intended?

emilhe avatar Feb 03 '24 11:02 emilhe

Unfortunately I am not working with dash anymore. I have moved teams and do not have access to that repo anymore

dales avatar Feb 04 '24 06:02 dales

Thanks for the response. Enjoy your new responsibilities 😊

emilhe avatar Feb 04 '24 07:02 emilhe