This may be an Opera bug but it is definitely not confined to macOS.
I've been using Opera on macOS Sierra (10.12.6) and two Windows 10 machines and keep getting the same annoying behaviour.
All was good until November 2018.
Do more on the web, with a fast and secure browser!
Download Opera browser with: