I get the same issue, also using an AMD RX 6700 XT. The entire computer freezes for a second or two, including the cursor and audio. I almost expect a blue screen to happen, but it recovers and starts rendering a few frames per second until the offending menu is closed. It seems like this must be a driver or hardware issue, so probably something more to taken up with AMD. Hopefully it can be fixed either way. Keeping the application in windowed mode works as a workaround, as does disabling auto-hide on the windows taskbar as @Low.key.Me mentioned.