I am also having the same issue with GMAIL and other sites (but they are not so annoying). The problem occurs with Opera 51 on Windows 10. It does not occur when I go back to Opera 50 on the same machine.
I deleted *%appdata%\opera software* and that had no effect.
I reloaded a backup of *%appdata%\opera software* and that had no effect.
I have moved back to Opera 50 and all is back to normal.