You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I manage to get it work but the card animation is somehow unstable:
Main issues:
When I slide the card to the .middle , the animation start again and it looks like it have a bug
Same thing if I push it up to the .top
On iPhone 10 it stuck on the .top and you it doesn't recognize the 'pulling down'
here is how I implement it:
struct Main:View{.. bla bla..@Stateprivatevarposition=CardPosition.bottom
@Stateprivatevarbackground=BackgroundStyle.blur
.. bla bla..var body: some View {NavigationView{ZStack(alignment:Alignment.top){..some code..
VStack {...... some code...}//end of VStackSlideOverCard(self.$position, backgroundStyle: $background){VStack{Image("open-menu").resizable().scaledToFit().frame(width:50, height:50).foregroundColor(Color.white).padding(.bottom,10)VStack(alignment:.leading){.. buttons...}}// end of VStack}// end of SlideOverCard}// end of ZStack.edgesIgnoringSafeArea(.vertical)}// end of NavigationView}// end of View}// end of main view
thank you in advance!!
The text was updated successfully, but these errors were encountered:
Hi,
Thank you for developing this..
I manage to get it work but the card animation is somehow unstable:
Main issues:
here is how I implement it:
thank you in advance!!
The text was updated successfully, but these errors were encountered: