Sidebar menu bug

I was trying to tap one of the menu items, and it has closed prematurely, leading to accepting the open challenge, for which I don’t have time for. It’s the 2nd time I’ve ran into such situation, so there has to be a consistent behavior.

My guess is that the menu container accepts events as well, and considers clicking on an empty space between menu items a command to hide the sidebar. It might then pass the event to the underlying element.