[Ionic 4 - beta1] ion-label and ion-input are presented in a strange way after upgrading from version 4.0.0-beta.0 to 4.0.0-beta.
See original GitHub issueBug Report
Ionic Info
Run ionic info
from a terminal/cmd prompt and paste the output below.
Ionic:
ionic (Ionic CLI) : 4.0.3 (C:\Users\...\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : @ionic/angular 4.0.0-beta.1
@angular-devkit/core : 0.7.0-rc.1
@angular-devkit/schematics : 0.7.0-rc.1
@angular/cli : 6.0.8
@ionic/ng-toolkit : 1.0.0-rc.11
@ionic/schematics-angular : 1.0.0-rc.11
Capacitor:
capacitor (Capacitor CLI) : 1.0.0-beta.3
@capacitor/core : 1.0.0-beta.3
System:
NodeJS : v8.9.4 (C:\Program Files\nodejs\node.exe)
npm : 5.6.0
OS : Windows 10
Describe the Bug After upgrading from version 4.0.0-beta.0 to 4.0.0-beta.1, ion-item components that have ion-label with ion-input are in the wrong view. Something in beta1 broke.
Steps to Reproduce Steps to reproduce the behavior:
- create a new project with ionic-cli and upgrade ionic-angular 4.0.0-beta.1
- add on some page:
... <ion-item style="border:1px solid gray"> <ion-label position="floating">test</ion-label> <ion-input type="text" style="border:1px solid lightskyblue" > </ion-input> </ion-item> ...
obs: I added borders only for debugging
- see the error in the placement of the ion-label (placeholder) and the ion-input
Expected Behavior that works just like the previous versions
Additional Context these are my dependencies on package.json β¦ βdependenciesβ: { β@angular/animationsβ: β6.0.9β, β@angular/commonβ: β6.0.9β, β@angular/coreβ: β6.0.9β, β@angular/formsβ: β6.0.9β, β@angular/httpβ: β6.0.9β, β@angular/platform-browserβ: β6.0.9β, β@angular/platform-browser-dynamicβ: β6.0.9β, β@angular/routerβ: β6.0.9β, β@angular/service-workerβ: β6.0.9β, β@capacitor/coreβ: β1.0.0-beta.3β, β@ionic-native/coreβ: β5.0.0-beta.14β, β@ionic-native/screen-orientationβ: β5.0.0-beta.14β, β@ionic-native/splash-screenβ: β5.0.0-beta.14β, β@ionic-native/status-barβ: β5.0.0-beta.14β, β@ionic/angularβ: β4.0.0-beta.1β, β@ionic/ng-toolkitβ: β1.0.0-rc.11β, β@ionic/schematics-angularβ: β1.0.0-rc.11β, βclasslist.jsβ: β^1.1.20150312β, βcore-jsβ: β^2.5.3β, βmomentβ: β^2.22.1β, βrxjsβ: β6.2.1β, βzone.jsβ: β^0.8.26β }, βdevDependenciesβ: { β@angular-devkit/architectβ: β0.7.0-rc.1β, β@angular-devkit/build-angularβ: β0.7.0-rc.1β, β@angular-devkit/coreβ: β0.7.0-rc.1β, β@angular-devkit/schematicsβ: β0.7.0-rc.1β, β@angular/cliβ: β6.0.8β, β@angular/compilerβ: β6.0.9β, β@angular/compiler-cliβ: β6.0.9β, β@angular/language-serviceβ: β6.0.9β, β@angular/pwaβ: β^0.6.8β, β@capacitor/androidβ: β1.0.0-beta.3β, β@capacitor/cliβ: β1.0.0-beta.3β, β@ionic/labβ: β1.0.0-rc.6β, β@types/jasmineβ: β~2.8.6β, β@types/jasminewd2β: β~2.0.3β, β@types/momentβ: β^2.13.0β, β@types/moment-timezoneβ: β^0.5.5β, β@types/nodeβ: β~10.5.2β, βcodelyzerβ: β~4.4.2β, βjasmine-coreβ: β~2.99.1β, βjasmine-spec-reporterβ: β~4.2.1β, βkarmaβ: β~2.0.2β, βkarma-chrome-launcherβ: β~2.2.0β, βkarma-coverage-istanbul-reporterβ: β~2.0.0β, βkarma-jasmineβ: β~1.1.1β, βkarma-jasmine-html-reporterβ: β^0.2.2β, βprotractorβ: β~5.4.0β, βts-nodeβ: β~7.0.0β, βtslintβ: β~5.11.0β, βtypescriptβ: β~2.7.2β } β¦
Issue Analytics
- State:
- Created 5 years ago
- Reactions:9
- Comments:9 (2 by maintainers)
Top GitHub Comments
Same here. Seems to be related to
position="floating"
ionic info
should be fixed in next beta, thanks to: https://github.com/ionic-team/stencil/pull/1000