diff --git a/src/components/popover/popover.md.scss b/src/components/popover/popover.md.scss index 992b8b8753c..d4e3a442fb9 100644 --- a/src/components/popover/popover.md.scss +++ b/src/components/popover/popover.md.scss @@ -14,8 +14,14 @@ $popover-md-box-shadow: 0 3px 12px 2px $alert-md-box-shadow-color $popover-md-item-background: $popover-md-background !default; +.popover-wrapper { + opacity: 1; +} .popover-content { + min-width: 0; + min-height: 0; + width: $popover-md-width; max-height: $popover-md-max-height; @@ -29,3 +35,7 @@ $popover-md-item-background: $popover-md-background !default; .popover-content .item { background-color: $popover-md-item-background; } + +.popover-viewport { + opacity: 0; +} diff --git a/src/components/popover/popover.ts b/src/components/popover/popover.ts index d58e39433bd..d9275b510c7 100644 --- a/src/components/popover/popover.ts +++ b/src/components/popover/popover.ts @@ -158,7 +158,9 @@ export class Popover extends ViewController { '