Good afternoon everyone,
I have a question regarding the use of the
aura:doneWaiting system events. I currently have two nested child components within a container component as you can see in the below markup:
<div class="row"> <div class="col-md-6"> <c:SelfServiceExistingCases /> </div> <div class="col-md-6"> <c:SelfServiceCaseDetail /> </div> </div>
In each component, there are asynchronous calls to the server that occur where I am showing and hiding the component on
<aura:doneWaiting>. However, what I am seeing is that when I perform an interaction that fires an async call on the SelfServiceExistingCases component, the spinner event fires on both the SelfServiceExistingCases and SelfServiceCaseDetail components. No waiting event should fire for the SelfServiceCaseDetail component because it is a completely separate component and no interaction occurred with it in this case.
I assumed these two system events were component specific but are they firing at the application level by default instead of the component level? Ideally, I would only want the spinner to show within the component that is waiting for a server response and not all sibling components in the containing component.
Also just to note, there I have not specified any
<aura:doneWaiting> event on the containing component.