[Beta 5.0.0 (20)] Back button drawer navigation breaks after other interaction

Bug report

You can use the back button to open/close the notebook drawer, this however stops working after an interaction in the drawer meaning you can no longer use the back button to go out to the notes overview.

So far I have found this issue happens with both the notebook context menu and the settings menu, I have however not tested any other interactions.

Environment

  • Platform: Android
  • Platform version: 12
  • App Version: v5.0.0 (20)

How to reproduce

  1. Open the app
  2. Use the back button to open the notebook drawer
  3. Use the back button to close it again and see that it works as expected
  4. Use the back button to open the notebook drawer again
  5. Do either of the following (which I have found to cause issues to far)
    • Press and hold on a notebook to open the context menu, then close it again (does not matter how)
    • Open the settings (top right corner)
  6. Use the back button to close the notebook drawer, see nothing happen

Hi Magnus,

Thanks for the report. Got it to reproduce.
Looks like it’s a React Navigation bug, where a drawer doesn’t handle back button events after dismissing a stack screen.
Anyway, I found a workaround and it will be fixed in the next build!

1 Like

It’s been fixed in build 22🥳