Depending on how the flapper is packaged, and in a kit, who knows, if it is exposed to any bending, it can take a set, and not make a good seal. A frequent issue about sealing is the amount of slack or lack of it in the chain adjustment, and if there's any excess hanging down, that sometimes getting caught underneath the flapper rim, creating the leak. Either cut off the excess, or loop it through the fastener so it can't hang down and get caught underneath the flapper valve. If your toilet has lugs to attach the flapper, and you used the ring on the replacement flapper around the overflow tube, that can distort things...you can't use both the lugs and the ring, and most are designed to be able to cut the ring out, if not needed. It could take a few weeks for that extra stress to distort it enough to then leak.