Toilet is 2-piece.
Toilet was flushing and refilling fine, but the wax gasket had to be replaced because it was dried up after many years, and leaked.
When removing the tank, the gasket on the underside of the tank on the flush valve, ripped. I couldn't find a proper replacement, so I had to purchase an entire new flush valve with gasket, FluidMaster 400. I installed everthing successfully.
But, the flapper leaked and the tank kept slowly (about 20 minutes) emptying into the bowl, and then the fill valve refilled the tank. This kept repeating.
I shut off the water supply, and let the tank slowly drain. It stopped draining when the water level got just below the flapper. I contacted FluidMaster, and they said the flapper was defective, and I'd have to jump through hoops to get a new one under warranty. I said no thanks.
I bought a replacement flapper by the same manufacturer, FluidMaster, and it leaked. I bought a new flapper by another manufacturer, Korky, and it leaked. I bought a whole new flush valve with flapper, and it leaked at the flapper.
I've replace many toilets and their innards, and have never had this problem.
Any ideas what's going on here?
TIA