The order doesn’t matter.Ok. I've just soldered the RC (39ohm and 10nF) and the result is the same as before. I can't see any difference. Anything else you think I could try?
PS: correct me if I'm wrong, bu the order of R and C does not matter here, right?
PS2: see attached diagram - this is how I've made the change.
I suspect your trigger pulse is too long. If it overlaps into the next half cycle, it will retrigger the triac. If you’re on a 50Hz mains, I’d suggest you turn off the trigger no later than 9ms.