Welcome just the same
As mentioned, no TrackPad issues on a M2 MBA upgraded from Ventura 13.6 to Sonoma 14.0
Regarding your Other posting above >>
Use the Activity Monitor application and make sure to use View >> View All Processes
What process or processes are using the Most CPU and Memory.
Often times - the issue maybe not a single Process alone but a combination of Processes
Also, when the computer is using so much CPU or Memory - it can be an indicator of a Lack Of Empty Spaces on the Drive.
In which case, the CPU and Memory usage would become Much More because it is searching for Empty Space to save all the Changes the user is performing.
Also, depending on the number of Open Tabs in your Browser, they can also affect Memory Usage.