We have created a lookup component that we are reusing throughout our lightning app. Because these lookups are under each other, I would like to have all other the drop downs be closed as soon as one opens up.
This sounds easy, but with LockerService, I can't access the DOM directly and thought I could use Lightning Events for this functionality.
I have now created a custom event, have it fire when a dropdown opens and have the same lookup component handle it and close it if its a different one than the one I just opened up.
I think this sounds like a good solution, except it seems that only the component instance that fired the event is the only one that is handling the event.
I couldn't find anything about it in the documentation so I'm asking here; can you have a custom event be handled multiple times?
Thank you so much for any help you might be able to give!