FastClick is instantiated on the body element, but the input
element below will not receive fast clicks. Instead focus()
will be called on the input element when touchend
fires.
The keyboard will still appear after delay on iOS 4 or earlier, however.
The same is true for the select
element. It should open quickly on iOS > 4.
The text below is a label
for the text input element above. FastClick should automatically resolve the ID in the for
attribute and trigger focus on the input element. This doesn't work on iOS 4, however (with or without FastClick).
Checkbox labels don't work on iOS 4, but with FastClick, they do!