Flash in the Pan

What does the idiom “Flash in the Pan” mean?

Definition:

A one-time occurrence, not a permanent phenomenon

For example:

“Some believed that Donald Trump’s popularity was a flash in the pan; others thought he would have a more lasting impact.”

Notes:

This idiom comes from an old expression about exploding gunpowder.