I had the same problems. For me, the following seemed to fix it.
In opera, under the "X" at the top right, click on the 3 lines. The easy setup window will show. Under "theme", my opera was in dark mode. I switched it to light mode and that fixed the search bar. When I switched it back to dark mode, it remained fixed.
Hopefully, this works for others.