Someone mentioned in an earlier post that all grounds in a box should be tied together. I hope there are some exceptions.
I have switch loop (12/2 NM) from a GFCI circuit that shares a switch box with switches on a different branch circuit. Combining the grounds causes the GFCI circuit breaker to trip so I taped and capped the bare ground for the switch loop. The switch is still grounded with the ground on the other branch circuit.
Is this OK? If not, is there another solution?