Thank you for reporting this issue.
Such behavior could be triggered by having uncommitted changes in your project's working tree. Please make sure that you have either committed or reverted any pending changes before trying to switch branches again.
In order to be able to reproduce the problem and provide a more precise solution if it persists, I would like to ask you to send us screenshots or video showing what exactly is happening. Since this is a public forum thread keep in mind that they should not contain any sensitive information.