title: Fragment blank screen on navigating back from a fragment which hosts a viewpager2
body: <p>I am getting unexpected behaviour with the jetpack navigation component.</p>
  <p>One of the destination fragments has a viewpager2. When I change the tab and get back to the previous destination, I get a blank screen.</p>
  <p>I do not know how to solve this issue.</p>
  <p>First fragment :
  <a href="https://github.com/Neerajsh8851/gbVersion/blob/main/app/src/main/java/com/nibodev/gbversion/MainFragment.kt" rel="nofollow noreferrer">https://github.com/Neerajsh8851/gbVersion/blob/main/app/src/main/java/com/nibodev/gbversion/MainFragment.kt</a></p>
  <p>Second fragment: <a href="https://github.com/Neerajsh8851/gbVersion/blob/main/app/src/main/java/com/nibodev/gbversion/StatusSaverFragment.kt" rel="nofollow noreferrer">https://github.com/Neerajsh8851/gbVersion/blob/main/app/src/main/java/com/nibodev/gbversion/StatusSaverFragment.kt</a></p>