MacBook Air trackpad sometimes doesn't work
Recently, on my new MacBook Air, the trackpad doesn't work randomly at certain times. Usually, when this happens, I have to force restart my laptop a few times. This happens randomly and is a daily annoyance that I don't know what time it happens. Could anyone please help me with this issue, and also provide me more details to why this happens and how to stop it?
iMac 21.5″, macOS 13.4