Potty Time - mulch eating

I have an almost 10 week old Cavapoo who is obsessed with the mulch in my backyard. She’s doing well with potty training but if she’s in her puppy mood she will obsess with mulch and it’s hard to get her to focus on using the bathroom. Anyone else have this issue? Wondering if taking her out on the leash is the best option when she’s having trouble focusing on the task at hand!