Take a whole branch out of the file you have open: pick a person, then which side goes with them (their descendants, their ancestors, one parent's side, or the person with their spouses and children), and untick anyone who should stay. Anyone who would be left with no link to the rest goes along, so nobody is left floating. The count next to each choice shows who that is before you decide anything.
Nothing here changes the file you have open. The Review step lists every person, family, source, note and media file that would go or change, in words. From the Result step you download the new file, open it in the app as a new file next to your other files, or preview it first: every page then colors what goes in red and what changes in amber, and Accept saves it as a new file. The original file is never modified.
Read the guide: Disconnected Branches and Floating People: Why They Happen
Reloading usually fixes this. Your files and drafts are saved in this browser and will still be there. If reloading does not help, write to us through the support form at /support.