My XPS 13's trackpad works quite well Fedora 34 Gnome. Firefox supports smooth scrolling and pinch-to-zoom like in Windows or Mac OS, and Gnome Shell has built-in trackpad gestures for switching workspaces and showing all open windows.
That's the thing which keeps me from buying a new notebook. :( Everything else I care about is on par with intel macbooks but the touchpad is too important.