Spinner rendering centered to window and behind components


#1

When I call .mask() on my component, the spinner renders centered to the window (not page or component), and sometimes even behind other components. Where would I even start to debug this?
I’m currently doing something like the following:

env.findComponent('App.Page.Component').mask()

The same thing happens if I trigger .loading() for the component’s data source.

env.getDataSource('App.DataSource').trigger('loading')


#2

This could be a CSS issue—look into the class for the spinner and its background to see what styles are being applied