May I suggest to start tranitisioning her to a cot/bassinet that do it during the day and lay a shirt that smells like you underneath her. Once she sleeps like this for a week or so perfectly then slowly start doing the nights the same way. If you breastfeed and she falls asleep on the boob, wait 15-30 minutes before putting her down in the cot/bassinet