Before electrics can supplant gas, they have to overcome a number of problems.   They have to overcome the range issue.   Electrics just can not go far enough on a charge.   Right now gas and hydrogen are the leaders in that regard.   Hydrogen has a severe disadvantage at the moment of not enough refueling sites.  Hydrogen also has another disadvantage, that for the moment is overcome, in that it reacts quite readily with oxygen.    Electrics also have a problem with the length of time it takes to recharge.   Overnight recharging is not feasible for the majority of people as they live in apartments and have on street parking with no easy access to a charging station.   Hydrogen and electric might share the problem of refueling/recharging if you misjudge distance between refueling/recharging stations.   With gas, it is relatively simple to have an additional supply with you and/or to have more brought.   Just some problems off  the top of my head.