GodSpeed JP1
Posts: 0
Joined: Thu Feb 27, 2014 1:23 pm

Set focus not work on iphone(iOS)?

Hello, Anyone help me?
I've been waiting all day.
Appery('name').focus(); just not work on real device.
I really need it.

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Set focus not work on iphone(iOS)?

Hello,

Sorry, We need some time to check this on device.

GodSpeed JP1
Posts: 0
Joined: Thu Feb 27, 2014 1:23 pm

Set focus not work on iphone(iOS)?

Hello Igor,
Thank you for your reply.
If you need my public link,here it is:
http://appery.io/app/mobile-frame?src...

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Set focus not work on iphone(iOS)?

Sorry - we need additional time to test it on a device. And please can you tell on what page you are calling .focus()?

GodSpeed JP1
Posts: 0
Joined: Thu Feb 27, 2014 1:23 pm

Set focus not work on iphone(iOS)?

Hi Illya,I call the focus on page "BBSComment" in "page show" or "load" event.
If you want to test it,you need click the list item on first page then click the list item on second page then click the top right button, you will see login page ,user id is 234234, password is 2342, login then you will see the BBSComment page,I want set focus to the textarea,when this page load.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Set focus not work on iphone(iOS)?

Ok, thank you for clarification - we'll try to test it as soon as possible.

Nikita
Posts: 0
Joined: Fri Feb 28, 2014 4:02 pm

Set focus not work on iphone(iOS)?

Hello,

Sorry for the delay, but it's a difficult question.This function focus() works partly on a device. INPUT is highlighted, but keyboard doesn't appear. At the limits of one page such a scheme would work. If on click on any component set focus on input field. I.e. user interaction is required. It looks like a restrictions from OS developers. You can search for an answer on http://stackoverflow.com/, for example, but there is no single answer, only experimental solutions. Or you can change your application a little.

GodSpeed JP1
Posts: 0
Joined: Thu Feb 27, 2014 1:23 pm

Set focus not work on iphone(iOS)?

OK, Thank you Nikita,
I think change my app may be the simplest solution.
I will try some another way.
If you get some new information about this,please tell me.

Return to “Issues”