Phonegap input type password field focus

前端 未结 4 901
遥遥无期
遥遥无期 2020-12-03 06:04

I developed an app in phonegap . In input tag if i give type=\'text\' it is works well . but when i give input type=\'password\' an another field is opening over to the curr

4条回答
  •  感动是毒
    2020-12-03 06:50

    This is not the problem with Phonegap.. this issue is also occurs in the webview.. in many devices like (samsung, sony, and emulator etc) the password field is overlay with the another field and rest of fields works fine. coming to HTC this issue will rises in the all type of fields..

    normally this overlay field covers exact to the bottom field and looks like only one field. but when we use the iscroll to apply scrolling property, the ovelay misplace as in the above fig.

    solution: onfocus on the field disable the iscroll and onblur refreshing the iscroll is an temporal solution which works fine.

    but this is not right solutions in all cases.

    waiting and trying for better solution..

提交回复
热议问题