Trash Can Bumpers Kit
Every swing-lid trash can does the same thing. The lid flips back, hits the wall, and over a few months you get a scuff arc on the paint. Under-sink cans do it to the cabinet door instead.
There are three ways to stop it: move the can, fit a wall guard, or put a bumper on the lid. The bumper is the one that works when you can't move the can. Here's how it fits.