Card swipeToClose with opened Photo Browser

Hi all. I have some problem. I’m open photo browser from expandable card. But when I swipe to close, then close photo browser and card too. How to prevent card swipe to close in runtime?

I could not fully understand your problem. It will be more understandable if you share sample codes with us.

Have you reviewed this document?
https://framework7.io/docs/photo-browser.html

I open photo browser from expandable card, after if I swipe down then photo browser closing and card collapsing. I want close photo browser only and stay card in expanded state.