Background: I'm using the rl-dropdown-component mixin and need to override the clickoutHandler but since it's being run async via Ember.run.later(), calling this._super() doesn't work.
This PR uses Ember.run.bind() to bind the mixin's event handlers so that if someone uses the mixin in their own component they're able to call this._super() as expected.
Thanks for creating this addon--it's been great to use so far.
Background: I'm using the
rl-dropdown-component
mixin and need to override the clickoutHandler but since it's being run async viaEmber.run.later()
, callingthis._super()
doesn't work.This PR uses
Ember.run.bind()
to bind the mixin's event handlers so that if someone uses the mixin in their own component they're able to callthis._super()
as expected.Thanks for creating this addon--it's been great to use so far.