To avoid dealing with an issue until dealing with it becomes absolutely imminent.
For Example:
If your friend asked, “what are we going to do about getting a ride home later?” You could respond, “we’ll cross that bridge when we come to it,” which is your way of saying that you would rather wait to worry about a ride until you actually need the ride.