Broetchen1234 / iui

Automatically exported from code.google.com/p/iui
MIT License
0 stars 0 forks source link

Dialog forms give spurious highlight flashes when tapped #59

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Using the sample application (Albums) click on Search button.
2. Then click anywhere BUT in the fields to be filled out.
3.

What is the expected output? What do you see instead?

Expect nothing to happen. But (1) if you click in the blue area of the
form, the screen flashes gray. And (2) if you click in the gray area at the
bottom, the dialog is dismissed, the keyboard comes up, and you get a
flashing cursor in a place where there is no text box.

Both behaviors are nontrivial bugs. The second case is obvious. The first
case is a problem when the dialog form contains buttons, because the
flashing makes you think you hit the button, even if you didn't quite hit it.

What version of the product are you using? On what operating system?

iPhone 1.1.3 with whatever version of IUI is in the sample app. (In my own
code, it's IUI 0.13)

Please provide any additional information below.

I think the problem is in the showForm function. In my application, which
has other changes to IUI code, completely disabling showForm fixes the
problem. IUI handles the cancel and submit buttons elsewhere in the "Click"
eventListener. (I.E. IUI apparently handles these events in two different
places.)

(I made other changes in my application, such as changing the fieldset to:
<fieldset onclick="void(0)" style="-webkit-tap-highlight-color:rgba(0,0,0,0);">
which is explained in the Apple documentation. This change fixes behavior
(1) but not behavior (2). Now that I have disabled showForm, perhaps those
changes are no longer needed.)

Original issue reported on code.google.com by markdionne on 18 Jan 2008 at 1:52

GoogleCodeExporter commented 9 years ago

Original comment by msgilli...@gmail.com on 12 Apr 2012 at 1:34

GoogleCodeExporter commented 9 years ago
Issue 65 has been merged into this issue.

Original comment by msgilli...@gmail.com on 12 Apr 2012 at 3:28

GoogleCodeExporter commented 9 years ago
I think this one may have been fixed by form improvements in release 0.4.

@dkords can you check this out?

Original comment by msgilli...@gmail.com on 21 Sep 2012 at 8:12