This is the worst. Firefox being snap by default has caused so many issues for me making it unusable in multiple ways and if you are not a Linux expert it is impossible to debug and no way you would believe that the default installation snap would be the core issue.
Then when the computer wakes up the mouse is all wonky for the first few minutes