I use some Buttons in my interface and when i test my software in the Android, works correct, but when i test in the IOS, don’t works correct. In the IOS i need to click twice on the button to work. Help me about this?

  1. Great question. Waiting also for answers.

29 answers

Staff May 23, 2016

Hello Kássia, this is because Safari on iOS simulates the “hover” event in a special way: the first tap is taken as “hover”, while the second tap triggers the “click” event. This behavior has been introduced on this article:

Besides changing the look, the “hover” state of button is actually useless on touchscreen devices. If your GUI is dedicated on touchscreen devices, you can use the workaround below to remove the “hover” state in all button elements:

The idea is quite simple, when the first page gets loaded, find out all button elements and remove their “mouseenter” event handler, so all buttons will not have the “hover” state.


  1. It's works! Thank you so much, Vivi!! :)

Awesome! Learned alot thanks so much keep posting more.  kitchen remodel spokane


Awesome! Learned alot thanks so much keep posting more.


Thank you for this lovely article!


love the idea! soo glad i found this site! mold remediation nashville



Great articles and great layout. Your blog post deserves all of the positive feedback it’s been getting. permanent hair removal


Great site thanks admin. More power.  privacy fence dothan al


Awesome! Learned alot thanks so much keep posting more.  bigger boobs


Awesome! This is very helpful. Thank you.Drywall Taping


Thank you for this lovely article!  bookkeeping services san antonio tx


Thank you for helping out Vivi. It really works. 



I love your content! Great job!


I highly appreciate your work here! Thank you so much!


I wanna know more about this because this is really informative!


Was your IOS in an updated version? There’s a big difference between ISO and Android. Do your research more, or continue here to see more info.


What a wonderful information. Thank you so much for helping us out. Looking forward for the next post. click


This is really something that bothers me a lot!

@Ohio plumbing services


Great news. Thanks for sharing. 

Drywall Hanging


IOS and Andriod are very different. So I guess there might be a problem in there. I have that experience that when working on personal trainer orlando site.


This post is very simple to read and appreciate without leaving any details out. Great work! ole777 mobile


I have checked the “Show configure window after creating new plot” check box in the Settings, so that I can set the default font to “Verdana”. termite damage repair


Thanks for sharing this article. It is very helpful for us to develop my skills in the right way.  custom ecommerce web design serviceswebsite design packagesaffordable logo designs


Spades has online and offline modes, so you can decide to play however you want depending on your mood.


pretty cool and this is where i can get android ringtones: dzwonki na telefon


Start participating in adventure races where only geometry appears in geometry dash lite. You will be able to choose geometry with many unique and creative designs in this game.


this is where i go often to find good lyrics on android phone which is quite interesting: parole de chansons


Frisco 24/7 Truck Repair  If you’re not sure what’s wrong with your truck, don’t worry.


truck brake service   We’ll be happy to help you out.


Please login or Register to Submit Answer