This issue has been fixed upstream, but if you still experience this issue, please follow the steps below:
Ubuntu and Debian based distributions
Install
sudo add-apt-repository ppa:starlabs/main
sudo apt update
sudo apt install starlabs-touchpad
Uninstall
sudo apt remove starlabs-touchpad
MX Linux
sudo wget https://raw.githubusercontent.com/StarLabsLtd/touchpad/1.19/etc/X11/xorg.conf.d/40-starlabs.conf -O /etc/X11/xorg.conf.d/40-starlabs.conf
sudo wget https://raw.githubusercontent.com/StarLabsLtd/touchpad/1.19/usr/share/libinput/31-vendor-starlabs.quirks -O /usr/share/libinput/31-vendor-starlabs.quirks
Other Distributions
sudo wget https://raw.githubusercontent.com/StarLabsLtd/touchpad/main/usr/share/libinput/31-vendor-starlabs.quirks -O /usr/share/libinput/31-vendor-starlabs.quirks