Android and HTML Overlays DPS 2015

jzhang2016

31-07-2015

‌Hi, I have an HTML overlay that has radio buttons. Each time I tap to check a box in the form, the top Chrome/Nav bar displays, then goes away when I tap to check the next box. Do the same DPS Gesture APIs work for Andriod as they do for IOS? For the IOS version, I just added onclick " " to the body tag and that worked.

Thanks!

Jeff

Answers (3)

Answers (3)

michaelp5974970

04-08-2015

Neil,

My name is Mike and I'm the programmer working on this with Jeff. I have surrounded my input tags with label tags so that the whole sentence is clickable. I thought this would have fixed the issue sense you mentioned the radio button needed to be bigger but we are still having the same issue. I also thought that we might be able to fix this by using the Gesture API that is new with DPS 2015, but I'm not finding any documentation on how to use it or if it's for the same menu options we are trying to prevent from showing. I can provide any code you may want to see to help us get this problem resolved.

Thanks for your help in advance.

Mike

Neil_Enns_-_Ado

Employee

03-08-2015

Hi Jeff,

I was half right: we fixed this bug, but it only affected text boxes. We aren't seeing the problem with check boxes or buttons using your sample content. Having said that, on a phone the touch targets can be kind of small and if you're just outside the checkbox or button you will see the chrome come up. Pinching and zooming in does make it for larger tap targets.

What device and OS version were you trying this on?

Neil

Neil_Enns_-_Ado

Employee

02-08-2015

Hi Jeff,

Yes, the gesture APIs work on all three platforms the same way. Having said that you shouldn't have to do anything special to avoid the chrome coming up when the reader taps on a check box. I'm pretty sure this is a bug in Android that we fixed last sprint and should be available in our release going out this week. Similarly, you shouldn't have to do anything special on iOS or Windows either.

I'll double-check tomorrow.

Neil