We recently bought a home with a defective ceiling fan (stuck in reverse), so I bought and installed a new one. The switches were kid of old and ugly so I replaced those as well. (1) switch for the fan and light and (1) switch for the can lights.
With the new switches installed and still hanging out of the wall, everything works seamlessly, but as soon as I push the switches into the switch box it trips the breaker. There doesn't appear to be any loose or frayed wires, and I have a good solid ground. Wired in exactly how I took it apart (one wire at a time).