Are you sure that Firefox is using Nemo, and not the GTK file picker, for its file saving dialog? Maybe you need to check your preferences in Firefox.
This should help:
If Nemo is already your system’s default file manager, then there are probably only 2 settings in the above post that you might need to change:
- Open
about:configin Firefox v98 or higher.- Search for the following two settings and change both from
2to1:widget.use-xdg-desktop-portal.file-picker widget.widget.use-xdg-desktop-portal.mime-handler
- Restart Firefox.
- Test by downloading a file via Firefox and hit the button next to the download to open the folder. Notice it should open Nemo instead of Nautilus.
Note: I use Plasma, so I am unable to test your issue on my system.