Chosen Solution

I have the same problem. Only mine is doing that only when I plug the charger in… :( It’s Mac Book Pro 2017 i5

This series uses a touchpad which is a bit easier to get to MacBook Pro 13" Touch Bar 2017 Trackpad Replacement But I don’t think that’s your problem! I’m suspecting your battery is failing! What happens is it presses up against the touchpad as you charge the system. Technically this is a bad battery and needs to be replaced soon as if it ruptures it could be very dangerous! If you still have AppleCare or AppleCare+ I would let Apple deal with it. Otherwise its a bit of work and you do need to be careful, fully discharging the battery before you start. Install this gem of an app to see how much life is left in the battery CoconutBattery