M
M
michaelromanov902018-01-07 22:34:26
iPhone
michaelromanov90, 2018-01-07 22:34:26

How to set focus in safari mobile?

Good afternoon!
The situation is this: there is a script (jquery) that looks for a form (field) and makes it .focus()

i.e. node.focus();

and in chrome for example (opera, firefox) everything works fine.

But in safari under iphone (ohm) does not work.

Has anyone experienced something similar?

hovering focus under timeout(th) I tried;
---------------------------
There is one big BUT: the field I want to find - it is handled by another summernote script - it makes a textarea - block editing area. (but the desired node is in the number of the 1st piece - i.e. there are no problems with finding a specific node, it's just that .focus does not work on it)
And the search for simple elements and attaching focus() to them - in the same safari works well .
And now I don’t understand what’s the matter =(((((Please tell me (if not a solution, then your guesses).

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question