Quasar: Button progress does not work on flat or outlined styles

Created on 30 Mar 2020  路  2Comments  路  Source: quasarframework/quasar

Describe the bug
The progress bar (combination of loading and percentage props) does not display on the outlined or flat style of the button. I can see from the inspector that the element is there, but it does not show.

Codepen/jsFiddle/Codesandbox (required)
https://codepen.io/ymhr/pen/QWbYaXb?editable=true&editors=101

Expected behavior
The progress bar should show no matter what style is active.

bug

All 2 comments

Good catch. Until it's fixed you can use something like this:

.q-btn--flat, .q-btn--outline
  .q-btn__progress-indicator
    opacity: 0.2
    background: currentColor

Edit: simplified the CSS

https://codepen.io/pdanpdan/pen/eYNxVey

Fix will be available in "quasar" v1.9.13.

Was this page helpful?
0 / 5 - 0 ratings