open
Public

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.https://www.chicocatreeservice.com/

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: https://www.nczonline.net/blog/2012/07/05/ios-has-a-hover-problem/

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
  1. It's works! Thank you so much, Vivi!! :)

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

#2

Awesome! Learned alot thanks so much keep posting more.https://breastaugmentationhuntingtonbeach.com

#3

Thank you for this lovely article! dentalimplantsseattlewa.com

#4

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

 

#5

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

#6

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

#7

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

#8

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

#9

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

#10

https://www.bostondeckpros.com

Thank you for helping out Vivi. It really works. 

 

#11

I love your content! Great job!

https://pittsburghhearingaids.com

#12

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

 

https://hearingaidsjacksonvillefl.com

#13

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

 

https://hearingaidsbatonrouge.com

#14

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.

#15

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

#16

This is really something that bothers me a lot!

@Ohio plumbing services

#17

Great news. Thanks for sharing. 

Drywall Hanging

#18

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.

#19

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

#20

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

#21

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

#22

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

#23

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

#24

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.

#26

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

#27

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

#28

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

#29

Please login or Register to Submit Answer