Ah, you are only reading the spell. There are more rules for antimagic under the general magic rules. Which honestly the spell should mention. Not even the site links to these rules.
In your case, what happens is that the spell has no issues traveling through the field, it just cant (for lack of better word) manafest inside the area. This falls under rule 3
Spell areas that include both an antimagic area and a normal area, but are not centered in the antimagic area, still function in the normal area. If the spell’s center is in the antimagic area, then the spell is suppressed.
Due to the comment, I will explain in greater detail.
A caster who stands outside the field can cast a spell and have it travel into and out of the field and have it take effect with no side effects from the field. Its only when the spell is cast into the field (or cast in the field) that its prevented from working.
To further this I will quote something from the spell itself from the end of the first paragraph.
it prevents the functioning of any magic items or spells within its confines
You can further look at the part about what happens with summoned creatures
Summoned creatures of any type wink out if they enter an antimagic field. They reappear in the same spot once the field goes away.