-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Closed
Labels
Description
Bug Report
Ionic version:
[x] 4.x
Current behavior:
The property mode
is not working for the ion-segment html tag. It somehow edits only the color instead of the layout.
Setting mode="ios" does not show the iOS segment in a browser. Setting mode="android" does not show the Android segment on an iOS device.
Expected behavior:
Change the layout of the segment menu depending on the mode
property.
Steps to reproduce:
Sample code below, just the default example from the website.
Related code:
https://stackblitz.com/edit/ionic-v4-angular-tabs-opknlw
Ionic info:
Ionic:
Ionic CLI : 5.4.1 (/usr/local/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 4.9.1
@angular-devkit/build-angular : 0.803.6
@angular-devkit/schematics : 8.3.6
@angular/cli : 8.3.6
@ionic/angular-toolkit : 2.0.0
Capacitor:
Capacitor CLI : 1.2.1
@capacitor/core : 1.2.1
Cordova:
Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : none
Cordova Plugins : no whitelisted plugins (0 plugins total)
Utility:
cordova-res : not installed
native-run : 0.2.8
System:
ios-deploy : 1.9.2
ios-sim : 8.0.1
NodeJS : v10.16.0 (/usr/local/bin/node)
npm : 6.11.2
OS : macOS Mojave
Xcode : Xcode 11.0 Build version 11A420a