Hi, I'm experiencing same issue on MI 11 Lite using Miui 12.5.6.0.
The most anoying is Gmail unable to insert attachment to an outgoing message.
I have found that it works if you disable MIUI OPTIMIZATION in developper Options to use usual explorer offering access to Photos,Gallery, Drive ...