Hi,
I have done the SharePoint integration to manage the related document for an entity. It is working and I am able to add the Documents tab by following the below article.
https://docs.microsoft.com/en-us/power-apps/maker/model-driven-apps/add-documents-tab-entity-main-form
After following this, Document Associated Grid is the default view and is showing both files and folders in the associated item folder. The issue when I click on any folder from this view, it is not showing the contents of the folder and instead it is just get selected as shown below:

A similar kind of setup is working in my trial tenant. But somehow I am facing issues in my actual tenant. Can someone please help me to understand if I am missing something.