How to stop Stop TextMesh Pro Rects from registering button events

The rects are always bigger than my buttons, causing all sorts of problems and adjustments.

Can I just make it so they dont detect mouse/pointer events?

I don’t want to go through and re-size the TMP rect every time I add some text to something…

I know this thread is a 18 months old, but I found it because I was looking for the same solution. I thought I would post the answer here to help anyone else that stumbles here as well.

Select your TMP text for the button > Look at inspector > Extra Settings > toggle off Raycast Target.