Pandemic, probably yes. Ukraine? Probably not. The supply problem is over-optimized supply chains, which means "we build everything in China, and they're not producing." I just got a time estimate of 52 weeks for a 1200A distribution panel, and things like breakers >600A have similar restrictions.
All of this compounds up and down the chain. But luckily, a lot of suits on Wall Street are making tons of money, so everything will be fine, right?