The water does not go into fence gates. That may become a method to breathe underwater.
Related issues
Attachments
Comments

[media]

Did you place the fence in water or surround the fence with water? If latter, then it's intended – See Neko's first comment under MC-129009.

It's MC-125351