Touch support on Linux - eviltoast

I just got a x86 tablet, and it works great with GNOME(Wayland), having pretty good touch support, except for on Firefox. I can’t get multi-touch gestures to work, nor touch scrolling. I’ve tried environment variables(MOZ_ENABLE_WAYLAND=1,MOZ_USE_XINPUT2=1), but that didn’t change anything. I’ve also had a look in about:config and couldn’t tell what options would change my experience. It should be noted that I have WebGL disabled, but I don’t forsee that changing anything. I also see under about:support that the Window Protocol is xwayland, and I’m wondering if that changed anything aswell(the protocol doesn’t change even with environment variables).

Does anyone have an idea about what’s gone wrong with my browser? Thank you very much!