I'm not sure what i did, but i no longer have that delay.I'm getting that big delay with the share to menu. It takes ages.
I think it may have to do with file manager and turning off withdrawal of consent. or its from apps that just updated recently.
Either way, the problem has gone and share to comes up immediately