Using example from https://stimulusjs.org/reference/actions#global-events, I have the following gallery controllers nested:
<div data-controller="gallery"> <div data-controller="gallery" data-action="resize@window->gallery#layout"> … </div> </div>
I found out that the parent gallery controller also listens to the child action. Is this intentional? If this is intended, do you have advice on how to make the parent controller not listening to the child action?
I’m using Stimulus 1.1.1