Skip to content
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

Btn not returning to original state on touch platforms #756

Closed
spectrolite opened this issue Jul 28, 2017 · 10 comments
Closed

Btn not returning to original state on touch platforms #756

spectrolite opened this issue Jul 28, 2017 · 10 comments
Milestone

Comments

@spectrolite
Copy link

Software version

Quasar: 0.14-beta
OS: Android 6.0.1
Browsers: Chrome 59 and beta

What did you get as the error?

Most buttons get stuck in the hover state at the end of the ripple (instead of going back to normal). Clicking anything else restores the correct style. Buttons that trigger a modal or give focus to some other element are not affected. But most simple buttons and possibly some configurations of fab or other quasar component containing a button may be affected.

What were you expecting?

The button returns to its original state after the ripple ends.

What steps did you take, to get the error?

Touch a simple button (which has a dark background color, otherwise it's barely noticeable)
e.g.

<q-btn color="deep-purple-9" icon="gps_fixed">
  Test
</q-btn>
<q-btn color="deep-purple-9" icon="gps_fixed">
  Reference
</q-btn>
@spectrolite spectrolite changed the title Btn Btn not returning to original state on touch platforms Jul 28, 2017
@rstoenescu
Copy link
Member

Hmm, could not reproduce in my tests. Will investigate. Thx for reporting.

@spectrolite
Copy link
Author

It also happens to the slider button, and basically any button that is not followed by a change in focus.

@aldanor
Copy link

aldanor commented Aug 24, 2017

Happens to me as well, in both mat and ios themes.

In my example it's something like this:

<q-btn big flat icon="done" color="positive" />

After tappping the button (iPhone, iOS 10), the button doesn't return to original state.

@rstoenescu
Copy link
Member

Hi, any gif available to highlight the issue pls?

@aldanor
Copy link

aldanor commented Aug 24, 2017

Looks like it also happens in the official examples in the docs -- the easiest way to see it is tapping the "outline" buttons.

@aldanor
Copy link

aldanor commented Aug 24, 2017

I'm not sure how to record a gif since it's a phone and not an emulator :) Basically, after tap the button is stuck in hover state. You then have to tap elsewhere in the body to reset it back.

@aldanor
Copy link

aldanor commented Aug 24, 2017

For the sake of completeness, I think this also happens to clickable QListItem on mobile. (gets stuck in hover until you tap on something else)

@aldanor
Copy link

aldanor commented Aug 25, 2017

quasar-btn

(ios emulator)

@rstoenescu
Copy link
Member

Thanks for the additional information. Fix available in edge and future v0.14.2.

@aldanor
Copy link

aldanor commented Aug 25, 2017

@rstoenescu Thanks! Wonder if this could also be fixed for QListItem? (it's the same kind of problem)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants