OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

iOS web app: disable autofocus on input text field

  • Thread starter Thread starter MMA
  • Start date Start date
M

MMA

Guest
I have a simple iOS web app question.

When you create the input text field, users click on the text field, mobile safari will autofocus the input field, auto move the user clicked input field into the center of the screen. The visual keyboard pushed the canvas to the top or the left or whatever the space where they can center the input field.

Well, what I am trying to do is disable the autofocus on the input field so that users click on the input field, the canvas does not move or animate at all, canvas stay on the screen like fixed, and the visual keyboard may overlap the input fields.( Trying to achieve by Javascript or CSS )

<p>I have a simple iOS web app question.</p>

<p>When you create the input text field, users click on the text field, mobile safari will autofocus the input field, auto move the user clicked input field into the center of the screen. The visual keyboard pushed the canvas to the top or the left or whatever the space where they can center the input field.</p>

<p>Well, what I am trying to do is disable the autofocus on the input field so that users click on the input field, the canvas does not move or animate at all, canvas stay on the screen like fixed, and the visual keyboard may overlap the input fields.( Trying to achieve by Javascript or CSS )</p>
 

Online statistics

Members online
0
Guests online
4
Total visitors
4
Top