fix(dropdown): overlay should show unless a popup is configured
This commit is contained in:
parent
f26880180e
commit
cb11a0f872
1 changed files with 3 additions and 1 deletions
|
|
@ -296,7 +296,9 @@ where
|
|||
translation: Vector,
|
||||
) -> Option<overlay::Element<'b, Message, crate::Theme, crate::Renderer>> {
|
||||
#[cfg(feature = "wayland")]
|
||||
return None;
|
||||
if self.on_open.is_some() || self.window_id.is_some() || self.on_close_popup.is_some() {
|
||||
return None;
|
||||
}
|
||||
|
||||
let state = tree.state.downcast_mut::<State>();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue