I've seen a few similar posts about this issue on here, but it looks like the most recent is from 2018 or so and I'm really hoping there's a solution now.
I have a PowerApp being used for tracking child enrollment in our preschools. It's a pretty big app with a page per stage of the enrollment process, and everything on each page is designed to display the Gallery.Selected Child. Each child has a unique ChildID that is identical across all SP lists this thing kicks back into. We have noticed that when someone employs a filter on the main gallery (such as typing in the beginning of a child's name into the search bar), after submitting an Edit Form on any of these pages the app will save the changes, but switch to the next child listed on the filter. As far as I can tell this only happens when there's a filter employed on that initial gallery, and it seems to be happening just about EVERY time. Anyone have any advice?