Search using view and facet as block
I applied this patch 
https://www.drupal.org/files/issues/2019-07-31/facets-3070461-3-Facet-links-break-in-modal_0.patch and issue resolved. Hope this will be helpful for others.