Update: this problem does not occur with firefox-trunk (version 101.0a1), which is installed via apt. I strongly suspect it is a problem with the snap packaging of firefox.
Update: this problem does not occur with firefox-trunk (version 101.0a1), which is installed via apt. I strongly suspect it is a problem with the snap packaging of firefox.