Skip to content

bug: Property 'alignment' ignores for ion-select with interface="popover" #25876

@Yura13

Description

@Yura13

Prerequisites

Ionic Framework Version

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

Current Behavior

Property 'alignment' doesn't impact to ion-select if interface="popover":

<ion-select
      interface="popover"
      [interfaceOptions]="{ side: 'bottom', mode: 'md', alignment: 'end' }"
    >

Popover always shows like aligment="start"

image

Expected Behavior

Property 'alignment' should impact ion-select if interface="popover".

Steps to Reproduce

https://stackblitz.com/edit/angular-3xxuyw?file=src%2Fapp%2Fexample.component.html

Code Reproduction URL

No response

Ionic Info

Ionic:

Ionic CLI : 6.19.0 (C:\Users\User1\AppData\Roaming\nvm\v16.13.2\node_modules@ionic\cli)
Ionic Framework : @ionic/angular 6.1.14
@angular-devkit/build-angular : 13.3.8
@angular-devkit/schematics : 13.3.8
@angular/cli : 13.3.8
@ionic/angular-toolkit : 6.1.0

Cordova:

Cordova CLI : 10.0.0 (cordova-lib@10.1.0)
Cordova Platforms : android 10.1.1, browser 6.0.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 5.0.0, cordova-plugin-ionic 5.5.2, (and 32 other plugins)

Utility:

cordova-res : not installed globally
native-run (update available: 1.6.0) : 1.5.0

System:

Android SDK Tools : 26.1.1 (C:\Android\android-sdk)
NodeJS : v16.13.2 (C:\Program Files\nodejs\node.exe)
npm : 8.1.2
OS : Windows 10

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