I’m trying to show loading mask while loading image inside the modal dialog in ExtJs. Problem is original mask disappears for the period of time while second mask is visible.
This is original screenshot. Modal dialog and background is masked:

This is when I add second load mask for the image.

And then it goes back to first one. So the whole application background flicks pretty annoyingly. Any ideas how to solve this?
I’ve test what you did. It doesn’t flick for me. I think it’s about Z-Index or Unique ID of masks. Try to track them with Firebug to see what exactly happens. For instance, some component come up to the mask. If you provide us some of your codes (simplified) we can do much with your problem.