Skip to content

bug: chromium issue with translucent popover #22176

@TylerAHolden

Description

@TylerAHolden

Bug Report

Ionic version:

[ ] 4.x
[x] 5.x

Current behavior:

Popover with the translucent property does not work. You can see behind the popover is not blurred as expected.
Screen Shot 2020-09-25 at 10 24 09 AM

Expected behavior:

When the translucent property is set to true, the popover backdrop filter works.

Steps to reproduce:

Open popover in menu. See my example deployment here: https://elegant-hugle-0f5e0e.netlify.app

Related code:
See code here: https://github.com/TylerAHolden/popover-issue-bug-ionic

Other information:

It seems that the parent container "popover-wrapper ion-overlay-wrapper sc-ion-popover-ios" is the reason backdrop filter is not applied. Since the parent is 0x0 pixels set in the middle of the screen, I think that's why backdrop-filter isn't blurring any background.

Ionic info:

Ionic:

   Ionic CLI       : 6.6.0 (/usr/local/lib/node_modules/@ionic/cli)
   Ionic Framework : @ionic/react 5.3.4

Capacitor:

   Capacitor CLI   : 2.4.2
   @capacitor/core : 2.4.2

Utility:

   cordova-res : not installed
   native-run  : not installed

System:

   NodeJS : v12.16.2 (/usr/local/bin/node)
   npm    : 6.14.4
   OS     : macOS Catalina

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions