If a shraddha occurs during Dwadasi, shraddha food should be cooked.
Some households cook food on Dwadasi and offer the food to the bhogtas and after seeking their permission the kartha also partakes the same.
In a few other houses, only shraddha food is cooked. so one can follow whatever the practice of the concerned house.