-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[v0.17] iOS app crash when submitting a form with Go button #3782
Comments
Can you do 2 tests please?
Let me know how it goes. iOS strikes again :) |
Hi Razvan! |
My money is on something snarky in the And finally, do you absolutely need the |
@nothingismagick: I've added the form element (with @submit.prevent to prevent the page to be reloaded) as the client requested the ability to submit forms by pressing the "Go" button on the keyboard, are there other ways to achieve this? @rstoenescu: here's the full output of `quasar info`:
|
I've updated both cordova (9.0.0) and cordova-ios (5.0.0), the crash persists. |
I've resolved this issue by installing the latest Xcode, 10.2. |
So it was an Xcode bug after all. Ok, closing this ticket unless you have any objections. |
No objections, thanks for the support! |
Software version
Quasar:
Operating System Darwin(18.2.0) - darwin/x64
NodeJs 10.15.0
Global packages
NPM 6.7.0
yarn 1.15.2
quasar-cli 0.17.24
vue-cli 3.5.1
cordova 8.1.2 (cordova-lib@8.1.1)
cordova-ios 4.5.5
Important local packages
quasar-cli 0.17.24
quasar-framework 0.17.20
quasar-extras 2.0.9
vue 2.5.17
vue-router 3.0.1
Code
This is my Login.vue component:
What did you get as the error?
The iOS app crash, the console shows this error:
assertion failed: 18D109 16B91: libxpc.dylib + 79599 [F7D4B188-D5C2-3E5E-BB76-BC7C6A368166]: 0x7d
What steps did you take, to get the error?
quasar dev -m cordova -T ios --emulator="iPhone-X,com.apple.CoreSimulator.SimRuntime.iOS-12-1"
If I tap the Login button everything is working fine, if the keyboard is showing and I press the "Go" button to submit the form, the app crash.
I've found this very similar issue on StackOverflow:
https://stackoverflow.com/questions/54598617/ios-12-vue-mobile-app-crashes-on-keyboard-enter-click
I suspect the $router.replace call to be responsible for the crash, if I remove it the app doesn't crash.
The text was updated successfully, but these errors were encountered: