Page 1 of 1

Mobile buttons stay active after tap

Posted: Wed Apr 09, 2014 5:40 pm
by Yan Yi

Quite frequently, the mobile buttons stay in their active state even after being tapped. They only return to normal after the user taps on the screen for a second time. Is there a way to solve this?

I tried to remove the active class on tap:
code$(.ui-btn-c).removeClass('ui-btn-c:active'); /code


Mobile buttons stay active after tap

Posted: Wed Apr 09, 2014 7:28 pm
by Kateryna Grynko

Hi Yan,

Add this CSS code:pre[name=mobilebutton]{
box-shadow:none !important;
}/preWhere 'mobilebutton' is a button name.


Mobile buttons stay active after tap

Posted: Sat Apr 26, 2014 9:24 pm
by Yan Yi

Hi Katya, thanks for your reply! However, the buttons still stay active after tap a lot of times. I added this code to css asset with button named mobilebutton. Do I need to use ID instead? Like #myPage_mobilebutton


Mobile buttons stay active after tap

Posted: Mon Apr 28, 2014 3:20 am
by Alena Prykhodko

Hello Yan,

The code below should work.

Please ensure your button component name is equal to the name in CSS rule:
pre

/* here mobilebutton_33 is button name */
[name=mobilebutton_33]{
box-shadow:none !important;
}/pre

If doesn't help please share your app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a and tell us its name.