I have had this problem (upload button not functioning) for a few days with my Ubuntu 22.04/Firefox installation. I discovered it is because of the snap Firefox version. The only solution I found is to download Firefox source file directly and use this installation of Firefox.
What I did te...