Opened 8 years ago

Closed 8 years ago

#13281 closed defect (fixed)

Hard to press <BUTTON> in ScrollableView on iPhone/iPad

Reported by: ykami Owned by: ykami
Priority: high Milestone: 1.7
Component: DojoX Mobile Version: 1.7.0b1
Keywords: 1.7-mobile Cc: Atsushi Ono
Blocked By: Blocking:

Description

In test_html-form-controls.html, there are 4 buttons: Button Element, Input Button, Submit Button, and Reset Button. Only "Button Element" is hard to press. The other three buttons do not seem to have this problem.

Change History (2)

comment:1 Changed 8 years ago by ykami

The "Button Element" button consists of the following tag:

<button>Button Element</button>

When you tap this button on iPhone/iPad, sometimes e.target is the button node, however, sometimes it is the child text node. That is the reason why pressing the button often fails. Other buttons in test_html-form-controls.html are <input> buttons, and thus this problem does not exist.

comment:2 Changed 8 years ago by ykami

Resolution: fixed
Status: newclosed

(In [25573]) Fixes #13281 !strict isFormElement() should check parent node, since the given node may be a child text node of a form element.

Note: See TracTickets for help on using tickets.