Yan Yi
Posts: 0
Joined: Sat Jan 25, 2014 7:38 pm

Mobile buttons stay active after tap

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

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Mobile buttons stay active after tap

Hi Yan,

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

Yan Yi
Posts: 0
Joined: Sat Jan 25, 2014 7:38 pm

Mobile buttons stay active after tap

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

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Mobile buttons stay active after tap

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.

Return to “Issues”