Menu events how handle change
william_harris: (ionOpen)=“menuOpened()” instead of menuOpened we now have these options ionDidClose Emitted when the menu is closed. ionDidOpen Emitted when the menu is open. ionWillClose Emitted...
View ArticleCan't change ion-input style from global.scss
Weird. This should work, just tested in a fresh app: :root { ion-input { --background: var(--ion-color-primary); } } (edit: I added this in global.scss, but you can add it in another global .scss...
View ArticleCan't change ion-input style from global.scss
:root seems to work, but what is the purpose of that?
View ArticleCan't change ion-input style from global.scss
I included the docs link. I won’t be able to explain it better
View ArticleIonic 4 - skip login page if user is logged in
I am basically trying to implement a logic that when the user is logged in, they should be taken immediately to the home page and skip the login page. Right now my code works, but there’s a delay,...
View ArticleCan't change ion-input style from global.scss
That’s simpler than I thought actually… :root - All platforms .ios - iOS only .md - Android only That makes sense now
View ArticleIonic 4 - ion-input underline
On my project Ionic 4 Angular 7 i’ve a setting page with this code: <ion-content padding class="tab4-content"> <ion-list> <ion-item> <ion-label>{{ 'VERSION' | translate...
View ArticleQR scanner not woking at all
Hi all, I just installed plugin QR scanner and wanted to scan some QR code. But when I click on button, no camera preview is shown. Even if I set background to transparent like in this post: Ionic QR...
View ArticleGetting error in build time Ionic react : WebpackError: ReferenceError:...
Hello , i am using reactjs (gatsbyjs) with ionic and i have this problem in build time . ionic-gatsby-error.PNG1308×699 83.5 KB Everything works well except in build time , i don’t know why . Any help?
View ArticleApk build Error(ionic)
first: cordova telemetry on then: ionic cordova build android --release
View ArticleIonic 4 - ion-input underline
For the lines <ion-item lines="none"> See: https://ionicframework.com/docs/api/item#properties For the padding, look at --padding-start See:...
View ArticleIonic4 Geolocation android
import { Geolocation } from '@ionic-native/geolocation/ngx'; ... constructor(private geolocation: Geolocation) {} ... this.geolocation.getCurrentPosition().then((resp) => { // resp.coords.latitude...
View Article[Ionic 4] What is alternative to deprecated 'ion-scroll'
Using flexbox for a horizontal scroller: div[scrollx=true] { display: flex; flex-wrap: nowrap; overflow-x: auto; &::-webkit-scrollbar { display: none; } .scroll-item { flex: 0 0 auto; } }...
View ArticleCORS error on Device Ionic
@harshm90 The docs page does give you solutions depending on your situation at the last section, in some cases even with implementation examples in Express/Node.js (backend) and Ionic 4 (frontend):...
View ArticleAre there any Android simulators for ionic serve?
Not looking to emulate a device. It is moreso for esthetics. I’m making ionic development videos and I would like the view to be rendered within an Android frame as I’m updating code. Thank you.
View ArticleHow to use as a simple row of buttons?
I just use event.stopImmediatePropagation(); Simple and quick For example: <ion-tabs> <ion-tab-bar slot="bottom"> <ion-tab-button tab="notImportant" (click)="clickMe($event)">...
View ArticleImpossible to build the application
greet the community! I’m the new guy: @mouafus I’m here because I can’t build the apk for my project made under ionic 3. When I try the command “cordova build android” I get an error I don’t...
View Article"System UI has stopped"
Hi guys! I’m developing an app using ionic 4. During the beta testing one of my user get “System UI has stopped” when try to open the app and he can unistall the app only from google play store. He’s...
View ArticleAre there any Android simulators for ionic serve?
Apparently opera comes equipment with device frames when you open the developer console. Problem solved.
View Article