@concretecamper Were those the majority of comments or just a few, with most trying to be helpful? There's always a few jerks out there. Also hard to tell without knowing what you actually posted.
@are92 It's not penalizing because the bonus is not guaranteed. It's giving a bonus only for the portion of the year that you worked.
Yes it sucks and disproportionately affects women, but not illegal.
@mh86 It's official policy at my company and very up front. The reasoning is that bonus is based on impact and I wasn't making an impact during leave 🤷♀️. My stock grant and merit increase were not affected.