Hi Amjad Khan,
We have validated your reported query and unable to reproduce it in our end. In our sample, we have used ASP.NET core file provider service with latest 18.4.0.39 version.
Please refer to the sample and video footage in the below link,
Please share us the below details to proceed further,
1. Package version and file provider used in your application.
2. Video footage or steps to replicate the issue.
3. If possible, reproduce the issue in our provided sample.
This information would help us to isolate the exact cause of your reported issue and provide you the prompt solution.
Please let us know if you have any concerns.
Regards,
Indhumathy L