I am in La. we know about floods and crossing canals, ditches, streams and bayous with fencing.
What we use is a tube gate. If I can I will describe to the best of my ability.
Large post one on each bank of the stream. Large beam or even a cable stretched tight betwext the post. Using the hinges supplied with the tube gate suspend the gate from the beam or cable. the gate should hang down to the level of where the bottom tube is in the water at low water level or barely off the ground in a normally dry ditch.
When it rains the water will either flow through the bottom tube or when the water gets high enough the current will then push the gate open. When the water receeds the gate would then fall back into it's original position.
Got two of them on my property, nothing but water goes through them, horse or cattle never have.
I promise you it works, and I ain't never had to tinker with it.