There are people who tend to have temper tantrums when things don't go the way they had hoped.
ここで apt to を使うのは不自然ですね。次のように言うと良いと思います。
ーThere are people who tend to have temper tantrums when things don't go the way they had hoped.
「思い通りにいかないと癇癪を起こす傾向にある人がいる」
to tend to で「〜する傾向にある・〜しがちである」
to have temper tantrums で「癇癪を起こす」
when things don't go the way they had hoped で「物事が思った・望んだようにいかないと」
ご参考まで!