Corrado is right, but that's a side effect of disabling native wayland support in the firefox snap, thus having it use xwayland, rather than an actual fix to the root cause of the problem. But as Daniel is pointing out, a proper fix is coming.
Note that only the stable channel has been reverted to xwayland, the firefox snap in beta and edge will still do wayland natively.
Corrado is right, but that's a side effect of disabling native wayland support in the firefox snap, thus having it use xwayland, rather than an actual fix to the root cause of the problem. But as Daniel is pointing out, a proper fix is coming.
Note that only the stable channel has been reverted to xwayland, the firefox snap in beta and edge will still do wayland natively.