Take it slow. Give her a little space. If she continues to stay involved with her ex so that his presence challenges your relationship with her, then accept that she’s not available to be in a relationship with you. But if she just needs a little space now and then, that’s not a big problem.