This goes for both macOS (currently have 10.15.7) and iPadOS (currently have 15.1).
My Mac will constantly suggest whatever app I was using last on my iPhone or iPad when I press ⌘ + tab or look at the Dock. This is a minor annoyance, but if possible I'd like to get rid of it.
More serious is my iPad doing the same with apps from my iPhone or Mac. It replaces one of the three recently used apps on the right side of the Dock, but there's a delay, so I'll often see whatever recently used app is there, move my finger to press it, have it replaced by the Handoff suggestion from one of my other devices at the last moment, and accidentally open the Handoff-suggested app instead of the recently used app I wanted to open.
This is especially troublesome when the Handoff-suggested app is the same app as the recently used one (say, Numbers) but I was viewing different documents on my iPad and Mac, so the iPad closes the document I was viewing on it and opens the one from the Mac in its place. This I can't stand.
I love everything else about Handoff, so I don't want to turn it off (which I understand lets me, say, copy something on my Mac and paste it on my iPad, a feature I use a lot).
How do I stop the Dock (especially on iPad but preferably also on Mac) from suggesting a recently used app from another device without turning Handoff off outright?
Already checked this question, which asks a similar thing, but the OP was happy to turn off Handoff in that case, which I am not. It was also suggested there that the OP turn off specifically the suggested and recently used apps in the Dock, but I'd like to keep the recently used apps while turning off the suggested ones, if possible, so that doesn't answer my question. If I go to Settings > "Home screen and Dock" on my iPad, there's an option to turn both off, but not an option to turn only one off.
Thanks in advance for any help.