Splitfit icon indicating copy to clipboard operation
Splitfit copied to clipboard

Tab information disappears after tapping twice.

Open delightfulagony opened this issue 2 years ago • 2 comments

Describe the bug Whenever one of the following tabs: Exercises, Insights or Settings; gets taped twice, the information on screen disappears and only a black screen (with the bottom bar) remains.

To Reproduce Steps to reproduce the behavior:

  1. Go to the Exercises tab (or Insights or Settings).
  2. Tap the Exercises tab (or the one you pressed in 1.).
  3. The screen turns black and tapping a different tab is needed in order to fix it.

Expected behavior The tab should be shown normally regardless of the number of taps.

Screenshots / Screen recordings When tapped once: one-tap When tapped twice: two-tap

Smartphone (please complete the following information):

  • Device: Xiaomi Mi 9T
  • Android version: 10 QKQ1.190825.002

delightfulagony avatar Aug 14 '21 20:08 delightfulagony

Thanks for the bug report, I was able to reproduce it. I think this might be an upstream bug with jetpack compose navigation, so let's wait and see if they publish a fix.

noahjutz avatar Aug 14 '21 20:08 noahjutz

confirmed - the bug was upstream and is fixed with jetpack navigation v2.4.0-alpha07

Re-selecting the same tab when using navigation compose with multiple back stacks will no longer result in a blank screen. (I860dc, b/194925622)

noahjutz avatar Aug 21 '21 08:08 noahjutz