-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
When LazyPop is canceled, other actions in the view are disabled. #3
Comments
Very odd, I would have to try it myself. Have you tried changing the order of the modifiers? |
I have the same issue |
Sounds like lazy pop would be too dangerous to use if it locks up UIs. If anyone finds the underlying problem, please comment here or make a PR. If I find free time I'll look into it myself |
Same issue |
I think I found out what's the problem is. In my case, the culprit is the |
That's interesting. Can anyone else confirm this? We could add a warning in the readme about this |
I found that when removing |
Ok thank you. I'll update the readme with a gotcha about I'll leave the issue open until a proper workaround is found. |
Found an interesting behaviour.
|
did you solve the problem |
interestingly enough, i've come across this issue while using https://github.com/AndrewSB/SwipeTransition/tree/spm in a the fact that you're seeing the same issue with buttons become inactive makes me think its a limitation of SwiftUI somehow |
@AndrewSB This problem still exists, do you have a solution? |
nope, i'm looking for a way to get around this too |
There is another question, how to handle side sliding gestures in Page? |
the solution in SwipeTransition does it, go check out the UIGestureDelegate in it; it tells the gesture recognized to not begin if the view receiving the touch is a UIPage |
Can you give the key code, thank you very much If the Page gesture is detected, why not keep the original side swipe gesture, why choose not to work? The user cannot close the page |
is there any way to fix this ATM? |
Hi there, just FYI, we have the same issue, which was resolved after we tried the solution from StackOverflow. We have no idea why it works, but it indeed fixes the problem. |
what was your solution? |
Fixed SwiftUI touch event handling after LazyPop gesture cancellation
|
Hello there is a look like the following. LazyPop is active. The problem is as follows: The user can come back to the previous view by sliding from anywhere on the screen. But if the user gives up and cancels lazypop, the view locks. My "Test 2" button becomes unclickable. How can I solve this?
The text was updated successfully, but these errors were encountered: