Skip to content

bug: Popover focus trap breaks usage of material input fields which are rendered outside of the popover #25593

Closed as not planned
@digaus

Description

@digaus

Prerequisites

Ionic Framework Version

  • v4.x
  • v5.x
  • v6.x
  • Nightly

Current Behavior

Cannot focus the input inside mat-select popover which is placed inside an Ionic Popover.

Reason is this change: fff4aec#diff-e6fe3d2c2375aaff02644f8767f36a3c49825d333f9764644871b0541a95b296R150

Since the input is rendered inside the cdk overlay it is outside of the popover and will be caught by the focus trap.

image

Expected Behavior

Being able to focus inputs outside the popover element if they are on top of the backdrop.

Steps to Reproduce

Add an input to the mat-select inside a popover

Code Reproduction URL

No response

Ionic Info

Am not using the Ionic CLI, only "@ionic/angular": "6.1.12"

Additional Information

No response

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