Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue with onDrag... #19

Open
LilMoke opened this issue Apr 10, 2023 · 2 comments
Open

issue with onDrag... #19

LilMoke opened this issue Apr 10, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@LilMoke
Copy link

LilMoke commented Apr 10, 2023

Hello,

I added the onDrag modifier to my drawer so that I could animate the image I have that is used to pull up and down the drawer, but it look like onAppear is not called.

What would be the best way to ue you package and animate the drawer image?

@LilMoke LilMoke added the bug Something isn't working label Apr 10, 2023
@maustinstar
Copy link
Owner

maustinstar commented Apr 11, 2023

Hi, thanks for checking out this package.

I think this package has been replaced and obsoleted by SwiftUI's presentationDetents, so I encourage you to try that alternative.

@LilMoke
Copy link
Author

LilMoke commented Apr 11, 2023

Yea, that was where I started, but I think the SwiftUI Implementation will not let you put the sheet over a tabview, at lest I could not find out =how to do it or find any example. I know it can be done in UIKit, but I dont think they brought that to SwiftUI yet, so I was looking for an alternative. Thank you for the reply, I appreciate it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants