When inflation occurs, prices tend to rise generically across all sectors of the economy. As a result, higher gas prices may also be met with higher vehicle prices, higher food prices, and higher housing costs. In such a case, demand destruction is less likely since all alternatives become more expensive at the same time.
Demand destruction during inflation is very complicated.
On the one hand folks believe they need to spend money now before it becomes worth less in goods and services.
On the other hand folks feel they need to save for the hard times ahead as inflation eats away at their savings.