v3.0 suggestion π
Closed this issue Β· 1 comments
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:
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... π
I found that v3.0 is a bit strange display on the ipad or mac. Its width is too small, causing some content to be squeezed and not displayed completely. I think it would be better to set the width to half the screen width, just like SwiftUI's sheet modal
. And on the ipad, it pops up from the top corner of the screen, which feels a little weird, maybe it's better to pop up from the bottom like an iPhone, even can use sheet
instead of display directly on ipad or mac, these are just some of my suggestions...