質問

Since Firefox implemented type=number my forms that were using this along with CSS :focus seem to have utterly broken. Getting the input to actually focus requires clicking in, out, and back in again. Even then, the value of that input can't be read by jQuery.

jsFiddle: http://jsfiddle.net/BUvdq/3/

Is there any way around this while preserving the ability to bring up a numerical keyboard in Android and iOS?

役に立ちましたか?

解決

It appears :focus{position:relative;} was causing this. Removed and focusing works.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top