Hello,
i am new to Ionic and have built a simple App which i then run on my Samsung Galaxy S3 device with Android 4.3.
But if i touch any button nothing happens and i get the following messages (Android device Monitor):
10-16 11:36:11.120: V/WebViewInputDispatcher(17502): blockWebkitDraw
10-16 11:36:11.120: V/WebViewInputDispatcher(17502): blockWebkitDraw lockedfalse
Someone here knows how i can fix this ?
Thank you
Hello,
can you share button code or what you are passing on (click) function for your button?
mdmc187
October 16, 2016, 10:19am
3
Hello umardraz,
this is my Login.html without any implementations yet. I just use [navPush] to change the Page.
On Chrome it is working without any Problems.
On my device i cant even touch the ion-input, i always get this “blockWebkitDraw” error if i touch any element.
<ion-content padding>
<ion-item>
<ion-input type="text" placeholder="Username"></ion-input>
</ion-item>
<ion-item>
<ion-input type="password" placeholder="Password"></ion-input>
</ion-item>
<div text-center>
<button ion-button round outline [navPush]="tabs">Login</button>
<button ion-button round outline [navPush]="register">Register</button>
</div>
</ion-content>
The Login.ts;
import { Component } from '@angular/core';
import {Tabs} from '../tabs/tabs'
import {Register} from '../register/register';
@Component({
selector: 'page-login',
templateUrl: 'login.html'
})
export class Login {
tabs:any;
register:any;
constructor() {
this.tabs = Tabs;
this.register = Register;
}
}
Thank you
If you would like to make buttons like tabs, then use [root] instead of [navPush] or better if you still pass a function like (click)=“login()” or (click)=“register()” and then make those functions in your Login.ts
mdmc187
October 16, 2016, 10:27am
5
Ok I will remember that for later thank you
But the Problem here must be something different. I cant touch any Element. I tryed the Ionic Demo-App too,
Its orking on chrome but not on my device.
mdmc187
October 16, 2016, 12:18pm
6
Well, seems that the cordova crosswalk Plugin made it.
i have installed crosswalk with ionic in this steep:smiley:
$ ionic browser add crosswalk@10.39.235.15
and obtain this message: Adding crosswalk browser
Info
Cordova CLI v5.0 no longer requires you to use the ionic browser command to get Crosswalk installed
The ionic browser command will install Cordova Android, the Crosswalk plugin, the whitelist plugin, and the splashscreen plugin for your convenience.
Due to this, if you need to specify a version of Crosswalk, see this link: https://g…
Im not sure if this “workaround” is the best choice, but thats the way i go for now.
Thank you