ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

Ionic 2 - <ion-select> issue on Windows Mobile 10

Open SkogDev opened this issue 10 years ago • 8 comments

Short description of the problem:

I am having some styling-issues on WM10. The '< ion-select >' is having the same height as if there were no item selected.

Here are three images:

Android (ion-select looks ok) screenshot_2016-05-22-07-46-00

iOS (ion-select looks ok) img_3050

WM10 (ion-select is having some trouble) wp_ss_20160522_0001

I suspect that the use of an "item-left icon" and a "stacked" label may be the source of the problem? If I am using the ion-icon, and the ion-label wrong, please let me know.

<ion-item class="transparency noborder"> <ion-icon light ios="ios-map-outline" md="ios-map-outline" item-left></ion-icon> <ion-label stacked>Type</ion-label> <ion-select [(ngModel)]="pagedata.type" item-right class="whitecolor"> <ion-option *ngFor="let p of pointTypes" [value]="p.Id" class="whitecolor">{{ p.Descr }}</ion-option> </ion-select> </ion-item>

What behavior are you expecting?

Expected behavior would be a list of inputs with the same height on all platforms.

Steps to reproduce: Setup an ion-list with this item:

<ion-item>
  <ion-icon light ios="ios-map-outline" md="ios-map-outline" item-left></ion-icon>
  <ion-label stacked>Type</ion-label>
  <ion-select [(ngModel)]="someModel.type" item-right>
    <ion-option *ngFor="let item of madeUpItems" [value]="item.Id" >{{ item.description }}</ion-option>
  </ion-select>
</ion-item>

Which Ionic Version? 1.x or 2.x Ionic 2

Plunker that shows an example of your issue

No plunker set-up for this issue

Run ionic info from terminal/cmd prompt: (paste output below)

Your system information:

Cordova CLI: 6.1.1 Gulp version: CLI version 3.9.0 Gulp local: Local version 3.9.1 Ionic Framework Version: 2.0.0-beta.7 Ionic CLI Version: 2.0.0-beta.25 Ionic App Lib Version: 2.0.0-beta.15 OS: Node Version: v6.2.0

SkogDev avatar May 22 '16 06:05 SkogDev

Does this happen when emulating in a browser or only on a windows device? I am seeing the following with your markup using the dark theme:

screen shot 2016-06-01 at 10 47 55 pm

I may have fixed this recently though.

brandyscarney avatar Jun 02 '16 02:06 brandyscarney

@brandyscarney This was tested on a Windows 10 Device (640). I will test this on an emulator later today.

SkogDev avatar Jun 02 '16 03:06 SkogDev

Hello all! As it seems it has been a while since there was any activity on this issue i will be closing it for now. Feel free to comment if you are still running into this issue. Thanks for using Ionic!

jgw96 avatar Jun 06 '16 19:06 jgw96

@brandyscarney Sorry for the late response, here is a screenshot from the WM 10 emulator: (now updated to beta 8)

capture

SkogDev avatar Jun 07 '16 16:06 SkogDev

Hello @Daforest Is this still an issue on beta.10? Thanks!

jgw96 avatar Jun 30 '16 18:06 jgw96

@jgw96 Tested with Beta.10 just now. Sorry to say, the issue is still present.

SkogDev avatar Jun 30 '16 20:06 SkogDev

Hello all! I am going to close this issue for now as I cannot reproduce this issue with the latest release of ionic on the latest release of edge. Thanks for using Ionic!

jgw96 avatar Jun 05 '17 16:06 jgw96

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

ionitron-bot[bot] avatar Sep 02 '18 19:09 ionitron-bot[bot]