I have been experiencing this weird behaviour for quite some time now. What happens is when I have multiple files open side-by-side, and I want to swtich to say, from left to right panel, I can only do it as long as I keep the mouse button pressed. As soon as I release the button, the editor takes me back to the left panel. The same happens if there is a search panel open at the bottom or even a terminal panel.
I have captured the behavior in the gif attached