diff --git a/src/addons/mod/data/components/action/action.ts b/src/addons/mod/data/components/action/action.ts index e7881a3b5..3d631249e 100644 --- a/src/addons/mod/data/components/action/action.ts +++ b/src/addons/mod/data/components/action/action.ts @@ -203,7 +203,6 @@ export class AddonModDataActionComponent implements OnInit { await CoreDomUtils.openPopover({ component: AddonModDataActionsMenuComponent, componentProps: { items }, - showBackdrop: true, id: 'actionsmenu-popover', event, }); diff --git a/src/core/components/combobox/combobox.scss b/src/core/components/combobox/combobox.scss index bb19aa559..3afd8c316 100644 --- a/src/core/components/combobox/combobox.scss +++ b/src/core/components/combobox/combobox.scss @@ -22,6 +22,7 @@ --border-color: var(--core-combobox-border-color); --border-style: solid; --border-width: var(--core-combobox-border-width); + --border-radius: var(--radius-xs); --box-shadow: var(--core-combobox-box-shadow); diff --git a/src/core/components/context-menu/context-menu.ts b/src/core/components/context-menu/context-menu.ts index 33710b712..6102bc4b6 100644 --- a/src/core/components/context-menu/context-menu.ts +++ b/src/core/components/context-menu/context-menu.ts @@ -185,7 +185,6 @@ export class CoreContextMenuComponent implements OnInit, OnDestroy { title: this.title, items: this.items, }, - showBackdrop: true, id: this.uniqueId, }); diff --git a/src/core/features/course/components/module-completion/module-completion.ts b/src/core/features/course/components/module-completion/module-completion.ts index c0c3d3dcb..8f3b2eb29 100644 --- a/src/core/features/course/components/module-completion/module-completion.ts +++ b/src/core/features/course/components/module-completion/module-completion.ts @@ -139,7 +139,6 @@ export class CoreCourseModuleCompletionComponent componentProps: { completion: this.completion, }, - showBackdrop: true, event: { target } as Event, }); } else { diff --git a/src/core/services/utils/dom.ts b/src/core/services/utils/dom.ts index 7eb2a73f8..9bde8deb5 100644 --- a/src/core/services/utils/dom.ts +++ b/src/core/services/utils/dom.ts @@ -2191,7 +2191,7 @@ export const CoreDomUtils = makeSingleton(CoreDomUtilsProvider); /** * Options for the openPopover function. */ -export type OpenPopoverOptions = PopoverOptions & { +export type OpenPopoverOptions = Omit & { waitForDismissCompleted?: boolean; }; diff --git a/src/theme/theme.base.scss b/src/theme/theme.base.scss index 00b59da8f..346655474 100644 --- a/src/theme/theme.base.scss +++ b/src/theme/theme.base.scss @@ -1899,6 +1899,10 @@ ion-popover { margin-top: 2px; margin-bottom: 2px; } + // Never show backdrop on popovers + ion-backdrop { + background: transparent; + } } /*