Rooting but won’t stay on the boob

Jessica

My daughter is 3 weeks old and her newest thing lately is rooting like crazy but when I get her on my breasts to feed she will stay on for like a minute max and then pop herself off, but then start to cry if I don’t put her back on, and then pops off again in like 10 seconds. And on and on it goes. What can I do to help her get through this? As I don’t think she is actually hungry when she does this. Try a pacifier to see if she just wants to suck, and won’t keep that in either but continues to root. What do I do??