Skip to content

v3.0 suggestion 😉 #87

@kylechandev

Description

@kylechandev

What amazing awesome work this is!
Thank you very much for your hard work on v3.0 during this time! 😊

I'm already using v3.0 and I'd like to make some suggestions:

1⃣️ Bottom sheet background corner and shadow
In v3.0, support the new customBackground() modifier, but I only want to change the background corner like v2.x (Because I wish to preserve the built-in multi-platform compatible blur background effect). The same shadow is also. In this demo I found using .shadow directly to set the sheet shadow, but this causes my entire page to have a shadow as well (which is not expected).

2⃣️ [enableSwipeToDismiss] become hard to trigger
In v3.0, you need to swipe down very quickly to close the sheet (still may not dismiss), which in v2.0 there is no problem.

3⃣️ About [BottomSheet+ViewModifiers]
I don't feel this way is very good, because I may show multiple bottom sheets on one page with different behavior, which will make the call chain very long, currently my solution is this:
截屏2022-08-09 下午2 48 15

It's also possible that I'm using it incorrectly...

Finally, thank you for creating this awesome library! I love you!

My English is poor, hope to convey my thoughts... 😝

Metadata

Metadata

Assignees

No one assigned

    Labels

    Thank You ❤️For people who appreciate my work

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions