Build menu is not opening with drag

Asked

Viewed 146 times

0

I am testing some components of Ionic 2. I installed via usb an application with a simple menu, which has some items. When I try to open the side menu 'dragging', it doesn’t work, just by clicking the menu button. My device is Zenfone 5 with android 4.4.2.

  <ion-header>
    <ion-toolbar>
      <ion-title>Menu</ion-title>
    </ion-toolbar>
  </ion-header>

  <ion-content>
    <ion-list>
      <button ion-item *ngFor="let page of pages" (click)="openPage(page)">
        {{ page.title }}
      </button>
    </ion-list>
  </ion-content>

</ion-menu>

<ion-nav #content [root]="rootPage"></ion-nav>

I also downloaded a project tutorial of Ionic 2 makes available to those who are starting, but also did not work.

  • Dude that basic example project of them already works that there. I find it kind of hard you get an answer, because your code is not complete here.

  • @Acklay Yes. Putting it all would take up a lot of space. I figured it could something related to Android version or something related. but I didn’t find anything to prove it. Because their code certainly works.

  • I have a project here that it’s basically from this form that you put there, but in ion-Nav it’s like this : <ion-nav [root]="rootPage" #content swipeBackEnabled="false"></ion-nav>

  • @Acklay worked with neither false nor true :/

  • @Acklay installed a guy named crosswalk. It seems that the webview of my phone does not support ionic2 right and Angular2, so some features do not even work. Crosswalk solves this, on the other hand has a 3x more size than a normal app would have.

  • That Zika that! I have never seen any situation where the webview of some model did not work. You have tested your application in the browser and it normally works Drawer?

  • I see no problem in increasing the size of the app a little. The bad thing is whether it will influence the application’s performance issue. From what I read of the crosswalk improves both performance and predictability.

  • @Acklay. Yes in the browser works normally, but also, so far, only this gave problem regarding webview, the rest of the things are working... Yeah, I’m only doing tests with this device, but depending on the application, if necessary, it’s worth installing this Crosswalk.

Show 3 more comments
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.