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

Panic on Component within Modal #73

Closed
rs017991 opened this issue Dec 1, 2022 · 4 comments
Closed

Panic on Component within Modal #73

rs017991 opened this issue Dec 1, 2022 · 4 comments

Comments

@rs017991
Copy link
Contributor

rs017991 commented Dec 1, 2022

If you try to use a custom Component within a Modal, the program crashes with:

thread 'main' panicked at 'called Option::unwrap() on a None value', iced_lazy-0.2.0\src\component.rs:124:43

Minimal Reproduction:
main...rs017991:iced_aw:modal_bug_reprod

@rs017991
Copy link
Contributor Author

Since iced_aw has been updated to use iced 0.6, I checked to see if this is still a problem.

Yes, this is still a problem.

My Reproduction rebased against the latest main:
main...rs017991:iced_aw:modal_bug_reprod60

@rs017991
Copy link
Contributor Author

Since iced_aw has been updated to use iced 0.7, I checked to see if this is still a problem.

Yes, this is still a problem.

My Reproduction rebased against the latest main:
main...rs017991:iced_aw:modal_bug_reprod70

@genusistimelord
Copy link
Collaborator

I am looking into this but it is very hard to track down as what it the cause.

@rs017991
Copy link
Contributor Author

rs017991 commented Mar 4, 2023

As of iced 0.8, this is fixed (perhaps as a side effect of this PR)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants