Showing Page Unresponsive Error inside nextcloud search option

I was trying to search and select an event fom nextcloud search option, but while clicking on the search result item it loads for 2 minutes and throws Page Unresponsive Error and to click exit or wait message.
Also this issue happens with chrome and edge browser only, working fine in Firefox browser with no delay .

I’m using
nextcloud : version
PHP : 7.4
server : Apache2
DB : MariaDB
Is there any possible solution for this issue?