No issues here on Linux, using Firefox 140.12.0esr under Slackware and Plasma 6.7.2 / Wayland
Maybe it's a firefox bug that was introduced somewhere after 140? idk
EDIT: Now I see you installed it via flatpak. That is also a source of endless inconsistencies and instabilities. So you should maybe try the native fedora rpm.