Closed alex-ds13 closed 6 months ago
give this a try with the tabsfix branch. I believe it is fixed now just the menu acts a bit differently.
give this a try with the tabsfix branch. I believe it is fixed now just the menu acts a bit differently.
That does fix it! Thank you!
I'm not using the menu so can't say if there is any issue with it or not...
Also do you intend to change the master branch to point to iced's master branch again?
Hector told me that was a feature for the dropdown so its ok. building up a few updates before i push it to main and push a new updated crate to crates.io
this is now fixed in the last PR #218
I'm having the same problem with 0.9.2, though without in menu. Perhaps a similar change can fix that issue too?
Can you post that in a new issue as even though it is a similar issue it's for something different.
On 03/07/24 10:46, Andrew Wheeler(Genusis) wrote:
Can you post that in a new issue as even though it is a similar issue it's for something different.
Sure!
When trying to use a PickList on a modal, the picklist will never open its overlay/menu.
I'm trying to press the picklist inside the modal, but nothing happens. Iced actually has a modal example that has a picklist inside the modal that works.
I was hoping to use iced_aw's one so that I wouldn't have to maintain the code for the modal itself, because the one on iced example is a custom widget and any futures changes that mess with it would require me to make the same changes on my implementation, while using iced_aw would be fixed simply by updating the crate.
Code for reproduction using the modal example
```rs use iced::{ alignment::{self, Horizontal}, font, widget::{container, text, pick_list, Button, Container, Row, Text}, Alignment, Application, Command, Element, Length, Settings, Theme, }; use iced_aw::{modal, Card}; fn main() -> iced::Result { ModalExample::run(Settings::default()) } #[derive(Clone, Debug)] enum Message { OpenModal, CloseModal, CancelButtonPressed, OkButtonPressed, ChangeTheme(Theme), #[allow(dead_code)] Loaded(Result<(), String>), FontLoaded(Result<(), font::Error>), } #[derive(Debug)] enum ModalExample { Loading, Loaded(State), } #[derive(Default, Debug)] struct State { show_modal: bool, last_message: Option