I think trying to set a z-index from within a custom element itself is wrong. The element doesn't now its future z-index environment -- the instantiator does. Perhaps just set it programmatically at the point you create findView?