You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When put inside of a Button, a PickList does't seem to receive user's input.
I modified examples/pick_list/src/main.rs by changing the view function:
// One also needs to add a button::State attribute to `Example` to make this code compilefnview(&mutself) -> Element<Message>{let pick_list = PickList::new(&mutself.pick_list,&Language::ALL[..],Some(self.selected_language),Message::LanguageSelected,);let row = Row::new().push(pick_list).push(Text::new("A button containing a pick list"));letmut content = Scrollable::new(&mutself.scroll).width(Length::Fill).align_items(Align::Center).spacing(10).push(Space::with_height(Length::Units(600))).push(Text::new("Which is your favorite language?")).push(Button::new(&mutself.button, row));
content = content.push(Space::with_height(Length::Units(600)));Container::new(content).width(Length::Fill).height(Length::Fill).center_x().center_y().into()}
The Pick List is displayed inside the button but it is not possible to interact with it.
Eddit: Here is a gif showing the problem, I'm clicking of the picklist but nothing happens
The text was updated successfully, but these errors were encountered:
When put inside of a
Button
, a PickList does't seem to receive user's input.I modified
examples/pick_list/src/main.rs
by changing theview
function:The Pick List is displayed inside the button but it is not possible to interact with it.
Eddit: Here is a gif showing the problem, I'm clicking of the picklist but nothing happens
The text was updated successfully, but these errors were encountered: