I travel mainly by public transport so from time to time encounter the issue of the wheelchair space being in use / a wheelchair using needing it.
I usually get off if it’s a packed bus - or more often than not the wheelchair user will explain where you can move to so they can fit. Rarely, a wheelchair user gets on and just entirely blanks the fact you’ve had to get off to let them on.
Usually it’s a sensible interaction where everyone is able to acknowledge that the disabled user has priority, but the pram user can’t easily unpack and then collapse their pram (particularly with a small baby) on a moving bus.
Generally there should just be more standing space to accommodate all types of bus user.