Quasar: Cordova iOS - cannot click buttons a second time if they have the loading prop

Created on 5 May 2020  路  5Comments  路  Source: quasarframework/quasar

Got myself another wierd bug on iOS (Cordova 9, ionic webview).

If I have a button, say
<q-btn color="green" icon-right="done" @click="saveDetails" label="Save" :loading="loading" />

When I click on the button the first time, it activates my saveDetails method, which will set a variable loading to true.
Once the request is done, it sets loading back to false.

During this process, the loading prop on my btn will correctly show the loading spinner, however, if I try click on "Save" subsequent times afterward, it does nothing - the button cannot be clicked.

I checked the classes that Quasar adds to the button, and I noticed that the button has the class non-selectable (which was added when loading = true. I gather that it is not being removed when loading is reset back to false?

Oddly enough, this issue is only happening on Cordova iOS. If I try it in the browser this bug does not occur.

Let me know if I can provide any other details.

bug

Most helpful comment

Duplicate of #6947, #6946, #6945
Upgrade to 1.10.4 and reopen if still present.

All 5 comments

EDIT:

I have just checked on Cordova android too and I am also having the issue there. Again, not on the browser.

These buttons are placed inside of a QDialog if that is of any help.

I'm now not even sure if this is actually a problem with my dialog...

I have this button inside :

QDialog
->QCard
-->QTabPanels
--->QTabPanel
---->QToolbar
----->QBtn

This is the specific order in which the button is not clickable.

What version of quasar?

V1.10.1

Duplicate of #6947, #6946, #6945
Upgrade to 1.10.4 and reopen if still present.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fnicollier picture fnicollier  路  3Comments

florensiuslaylim picture florensiuslaylim  路  3Comments

Bangood picture Bangood  路  3Comments

lukadriel7 picture lukadriel7  路  3Comments

green-mike picture green-mike  路  3Comments