iOS open app, close parent folder

I’m curious if there’s a way in iOS (v15.x at the moment) to open an enclosing parent folder, tap an app to have it open/launch; and have the parent folder automatically close? I think I may have done this once accidentally, and have no idea how I did it. Searching the internet for how to do this, yields me nothing.