I'm facing a confusing and frustrating issue with folder selection for file uploads in a web app running inside Telegram Mini Apps on Android.
Folder selection works fine in regular browsers (Chrome on Android, Safari on iOS) using . Here is screenshot of directory chooser
but when i try to run the same code in telegram mini App that just a webView i got broken default android directory chooser where i can select only files
webkitdirectory supports almost everewhere so i excpect that everything will just work. I don't even understand where to start digging because folder selection works fine in browsers, it works perfectly on iPhone in Telegram Mini Apps, but on Android there's a problem with the directory chooser.

