Touchpad gestures (back, front) don't work in Flatpak Firefox

I have a laptop with Ubuntu 22.04. Firefox 307 from deb package works perfectly. I wanted to give a try to Flatpak variant 306, which works well too, except two finger gestures back and front won’t work. Scroll works. Gestures enabled in settings.
Any scheduled fix for that? Would be cool to move to flatpack completely.
I was redirected here from Mozilla forum Touchpad gestures (back, front) don't work in Flatpak Firefox | Firefox Support Forum | Mozilla Support

You’ll have better luck asking in Mozilla’s Bugzilla page. Mozilla maintains the flatpak, which we have very little control over its decisions.