@jamesharvey wrote:
Hello guys,
I implemented modal html page and popover component properly on my Ionic app.
I declared them on app.module.ts
and on my home.ts:
import { NavController, Platform, ModalController, NavParams, PopoverController } from 'ionic-angular';
import { PopoverComponent } from '../../components/popover/popover';
in constructor:
public modal: ModalController, private popoverCtrl: PopoverController,
and function:
openModal() { const myModal = this.modal.create('ModalPage'); myModal.present(); } presentPopover(myEvent) { let popover = this.popoverCtrl.create(PopoverComponent); popover.present({ ev: myEvent }); }
Both modal and popover takes more than 2 seconds to show up once I tap on a button. There’s absolutely nothing on modal & popover yet.
Is there any way to make them show up faster… likely in 0.2 - 0.5 second?
I have a lot of things going on in a single HTML file and I guess things started to slow down but I wonder why simple html & javascript and a few plugins are slowing down the app I’m working on.
I feel overall app feels chunky and slow on my smartphone although it runs well on my browser lab.Thanks in advance,
Posts: 2
Participants: 2