Browser refreshing when pressing shift

So, every time I press shift, browser immediately refreshes website I’m on. Doesn’t matter which website, I can be on home page of browser and still when I press shift, it refreshes. It’s really frustrating, I can’t capitalize letters and when I forget about it, in most cases I lose all data that I entered on some website, because it refreshes when I press shift. I’m writing from Brave browser right now, and I capitalize letter with caps lock, basically pressing it when I need capital letter and turning it off when I don’t. I tried keyboard test online and when I press shift it doesn’t press anything else but just says “Browser Refreshing”. Any help?