I have two snap installed (obsidian and theia-ide) and if chromium is installed on my machine, clicking on a link opens chromium even though firefox is my default browser.
I am not sure what information I can provide to help figure out what is happening. In my terminal this command xdg-open http://some-website
starts firefox