If I've created a module with a class that has layers with onClick events, and those (module class) layers are included in a scrollComponent in app.coffee, how can I prevent the click event from firing on those layers when the user is scrolling the list?
I'm clear on how to do this when NOT using a module, but this is clearly a scoping issue I can't figure out. I've tried passing the scrollComponent to the module as a parameter. I've tried using window["variable"]. To no avail. Scrolling always triggers one of the layers created from the module class.