PopupView icon indicating copy to clipboard operation
PopupView copied to clipboard

Native like sheet resizing feature

Open jakub-kalamarz opened this issue 1 year ago • 4 comments

It would be immensely beneficial to have a built-in capability to use UISheetPresentationController.Detent as an option for resizing the presented sheet on drag. This feature would significantly improve the user experience by providing more flexibility and control over the presented sheet's behavior.

jakub-kalamarz avatar Jul 07 '24 19:07 jakub-kalamarz

Hey @jakub-kalamarz,

Could you please paste a video here showing how it should work?

Thanks a million, Tomasz

FulcrumOne avatar Jul 08 '24 11:07 FulcrumOne

Hey, thanks for response.

This is the look and feel I would like to achieve when using your lib.

https://github.com/Mijick/PopupView/assets/34458752/7f3b80e2-e186-4c83-81ab-a9f9290c1519

jakub-kalamarz avatar Jul 08 '24 11:07 jakub-kalamarz

oh, I see. I think there is no problem with including this in our library, so I'm adding it to our backlog 😉

FulcrumOne avatar Jul 08 '24 12:07 FulcrumOne

hey @jakub-kalamarz,

I've started implementing your idea, but I need your confirmation whether I understood it correctly. Let's say the initial popup is 200 px high and I use a drag gesture to make it bigger. To my understanding, the developer should be able to define the next size thresholds (like 300, 400 px or 150%, 250%), correct?

FulcrumOne avatar Aug 04 '24 23:08 FulcrumOne

Implemented in version 2.7.0

FulcrumOne avatar Aug 14 '24 22:08 FulcrumOne