When I hit the "c" shortcut to open the "+ New" button from the navbar and just after I hit the "s" key to open the "Switch to..." modal, then there will be a javascript error Dropdown element should be in a dropdown menu
.
There should not be this error. The error is thrown because our code cannot focus the previous element. It means the previous focused element is lost when opening the switch-to modal. It is otherwise harmless.
It was found by Cypress end-to-end test.