Using the alert Confirm example http://ionicframework.com/docs/v2/components/#alert-confirm when I implement and press Go to in form, the confirm recives the press command and not show it.
If I put a setTimeout(() => {this.nav.present(confirm)}, 100); works fine.
Can you help me!
Thanks in advance!
@xavibel Which version of the framework are you using?
The behavior that you’re describing seems similar to the one described in this issue:
I just confirmed that it’s fixed in beta.4
so the issue that you’re observing might be resolved as well (here’s a short guide on how to upgrade to beta.4
).
Perfect now works!!!
But since I upgrade to Ionic beta 4 the app not run in the devices I’m testing. If I test in a Nexus 5 device, works fine, but when I test in a Samsung Galaxy Tab 10 not works. Only works in chrome browser.
Shows a collections.ts line 45 error.
I don’t know if you know what it’s broken.
Thanks!!!
@xavibel Could you provide some information about the error, e.g. message, stacktrace, etc?
Yes, when the application is loading shows a error in collection.ts line 45:
“The object not accept the property or method ‘keys’”
I translate the message from spanish. The line it’s: if (((new Map()).keys()).next) {
var _clearValues: {(m: Map<any, any>)} = (function() {
if ((<any>(new Map()).keys()).next) {
return function _clearValues(m: Map<any, any>) {
var keyIterator = m.keys();
var k;
while (!((k = (<any>keyIterator).next()).done)) {
m.set(k.value, null);
}
};
} else {
return function _clearValuesWithForeEach(m: Map<any, any>) {
m.forEach((v, k) => { m.set(k, null); });
};
}
})();
I using these packages:
“angular2”: “2.0.0-beta.14”,
“es6-promise”: “3.0.2”,
“es6-shim”: “^0.35.0”,
“ionic-angular”: “2.0.0-beta.4”,
“ionic-native”: “^1.1.0”,
“ionicons”: “3.0.0-alpha.3”,
“ng2-translate”: “^1.11.0”,
“reflect-metadata”: “0.1.2”,
“run-sequence”: “^1.1.5”,
“rxjs”: “5.0.0-beta.2”,
“zone.js”: “0.6.6”
Thanks!!
It seems that es6-shim
is missing - make sure that you imported it in app.ts
/app.js
, i.e. make sure that the following line is added at the top of the file:
import 'es6-shim';
YES!!! Thaaaaank you!! now all it’s working!
You are the best!!!