Skip to content

bug: ion-select with interface="popover" does not open popover #26643

Description

@martinmitteregger

Prerequisites

Ionic Framework Version

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

Current Behavior

After clicking onto an ion-select with interface="popover" the backdrop appears but no popover is shown.
The console shows the error or rather warning "Found a 'popover' attribute with an invalid value."

current_behavior

Expected Behavior

After cclicking onto an ion-select with interface="popover" the backdrop AND the popover itself should be shown.

Steps to Reproduce

Just run the stackblitz example from the docs.
After opening the stackblitz example the docs show the same incorrect behavior!

image

Code Reproduction URL

No response

Ionic Info

I can't run ionic info in the stackblitz project but as I have the same error in my project here's my output

Ionic:
Ionic CLI : 6.20.1
Ionic Framework : @ionic/angular 6.5.0
@angular-devkit/build-angular : 15.1.1
@angular-devkit/schematics : 15.1.1
@angular/cli : 15.1.1
@ionic/angular-toolkit : 7.0.0

Capacitor:
Capacitor CLI : 4.6.1
@capacitor/android : 4.6.1
@capacitor/core : 4.6.1
@capacitor/ios : 4.6.1

Utility:
cordova-res : 0.15.3
native-run : 1.7.1

System:
NodeJS : v16.14.2
npm : 8.7.0
OS : Windows 10

Additional Information

After removing interface="popover" it works as expected (but not as popover)

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