-
Notifications
You must be signed in to change notification settings - Fork 35
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
iOS crash with NSInternalInconsistencyException, UITargetedPreview #103
Comments
NSInternalInconsistencyException: This UITargetedPreview initializer requires that the view is in a window
The helpful workaround mentioned here works, but not in all cases |
@dominicstop is there any update on this? many people have this issue, and the workaround mentioned doesn't work always or is sometimes not possible to use. |
hello, i apologize but i do not have the resources to maintain multiple versions of this library; so i can't really support i recommend upgrading to if the fix is simple enough, i will backport the patch to thank you for understanding. |
I can try the Is |
@dominicstop I've created a new build with the following versions: I got the following error: So I guess not stable yet? 😄 |
@dominicstop Anything I can do to try and help figure this out? |
Running into the same issue as @JustJoostNL when trying to use |
I had a crash too with these deps : Latest as of now I think ? It crashes occassionally using one build but on another it crashes every time but I don's get this stack trace. Happy to help testing if required, thank you. |
hello, i'll take a look again (i'm not really actively doing OSS anymore, so the fix might take a while) |
Description
First of all, amazing work on this library 🙌
I've ran into an issue with unmounting the component that causes a crash on iOS. This can be reproduced by having the context menu open while navigating to a different screen. It should close unmount and close gracefully, but instead it crashes.
At first glance, it seems different from the other reported issues.
Crash
ios-context-menu-crash.mp4
Minimal repro: https://github.com/rrebase/ios-context-menu-crash-demo
Note: have to precise with the tap + long press timing to cause the crash 😄
The text was updated successfully, but these errors were encountered: