fix(popover): add modal property for dialogs
Fixes quirks with the context drawer and dialogs
This commit is contained in:
parent
c6ab6cfe23
commit
2bfdc09a43
2 changed files with 16 additions and 6 deletions
|
|
@ -745,7 +745,7 @@ impl<App: Application> ApplicationExt for App {
|
|||
|
||||
// Show any current dialog on top and centered over the view content
|
||||
// We have to use a popover even without a dialog to keep the tree from changing
|
||||
let mut popover = popover(view_column);
|
||||
let mut popover = popover(view_column).modal(true);
|
||||
if let Some(dialog) = self.dialog() {
|
||||
popover = popover.popup(dialog.map(Message::App));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue