Selection/scroll bug?

Is it me or is there a bug that drops the text selection when one end of it is outside the editor window and you scroll up or down?  For example if you use Cmd-W to select both ends of a curly brace delimited code block, when you scroll down to see the other end, the selection disappears as soon as you start scrolling.

I'm using PhpStorm 1.0.1 Build #PS-95.315 on a Mac running Mac OS X 10.6.4 on a Mac mini.



Apologies for late reply. But here is the solution (which worked for me at least) -


Open any editor.

Scroll it using your touch screen.

Now scroll again using mouse. 


These simple steps solved the issue.


Ankitkumar2448 solution also worked form me in an Dell XPS 13"

It was annoying because until today I could only fix it by rebooting the laptop :(

Thanks a lot!


I am running into this problem as well. PHPStorm Version 2021.2.2 on  Ubuntu 20.04.3 LTS

@Ankitkumar2448's solution also works.


Same issue with GoLand, for several years now. On Linux Mint and XUbuntu.


I think this happens when the editor does not register a mouse-leave or different event on an editor-tab after a scroll was initiated.

If I go back to the “scrolling tab” and manually scroll down until the end, auto-scrolling stops and the tab is usable again.


Please sign in to leave a comment.