title: Z-Index conflict when animating fragment transition using the Android Navigation component
body: <p>I'm trying to use <a href="https://developer.android.com/topic/libraries/architecture/navigation/" rel="nofollow noreferrer">Android Navigation</a> instead of fragment transaction. There is one problem however which is starting to be cumbersome. Upon using a slide-in animation for the <code>Enter Animation</code> the new fragment goes beneath the current fragment. Be sure to check the following video to see the bug in action.<br>
  <a href="https://youtu.be/gFnXiEyiypM" rel="nofollow noreferrer">https://youtu.be/gFnXiEyiypM</a></p>
  
  <p>The bug seems not to be from the <code>Navigation</code> component though the hacky solutions (<a href="https://carlrice.io/blog/fragmenttransaction-z-index" rel="nofollow noreferrer">this</a> and <a href="https://issuetracker.google.com/issues/79443865" rel="nofollow noreferrer">this</a>) which have been introduced for this specific problem doesn't seem to fix it when <code>Navigation</code> is used.<br>
  Isn't there a workaround for this until an official fix has been released?</p>