I recently replaced a dimmable light fixture with a new one. When I opened up the box there were 4 black wires and 1 live white wire, 3 white wires and the ground wires.
I had to replace the box and undo the wiring. I've put them back together but now the light turns on when I flip the breaker but it stays on regardless of the switch position and the dimmer doesn't work.
I've done some reading to see what it could be but I can't seem to find why the lights won't comply. Any help would be great.