switching windows with <leader>ww also works for me, it puts the cursor on the floating diagnostic that is currently open.
<leader>ww