Questions tagged [autofocus]
456 questions
0
votes
1 answer
Autofocus HTML input when app is opened
I have an iOS web app with a WKWebView. I would like an HTML input to auto focus when the app is opened. What I've tried and hasn't worked:
html autofocus tag
JavaScript
document.getElementById("my_input").focus();
Thank you…

quemeful
- 9,542
- 4
- 60
- 69
0
votes
1 answer
autofocus in not working in input tag which is not under any form element
How to set autofocus property in input element which is not a part of a form.
I have given "autofocus" property in input tag but it is not working.
//Here I have given the autofocus property

Dipti Kumari
- 41
- 2
- 9
0
votes
1 answer
How to remove initial auto focus of anchor tag
I am wondering how to remove the automatic focus which automatically happens to the first anchor tag on page load.
I am not looking to disable all focus ability which is pretty much all I was able to find solutions to while researching this…

Dear1ofGdBear
- 935
- 2
- 13
- 26
0
votes
0 answers
Android java focus on the google map window
I have a scroll view in my main activity and inside, I have a fragment with google map..
When I scroll down and reach the google map window, I try to move the map inside it, but when I push it up, it doesn't move the map inside, but all the…

ni gi
- 75
- 1
- 10
0
votes
0 answers
Auto focus in cwac-camera not working
I'm using the cwac-camera demo app and the auto focus is not working.
when I'm trying to take a picture, I don't see that the camera focuses.
I checked the logs and I don't see any warning/error.
I tried it on my Nexus 4 and on LG G2.
Thank you!

idish
- 3,190
- 12
- 53
- 85
0
votes
2 answers
Libstreaming: Can we perform zoom in and out in camera on surfaceview as well as on-touch Focus circle and Flash in camera preview?
I am developing an android application using libstreaming streaming library. The app is sending upstream on Wowza (Mobile to Wowza). I created one surfaceview which has the camera preview. It's working fine but I want to add three functionalities…

Ram
- 3,887
- 4
- 27
- 49
0
votes
2 answers
Weird focus() behavior
My goal is to open an input element in a popup and focus that input.
So logically, I have tried $('#input').focus(), $('#input').first().focus(), and $('#input')[0].focus(), but they do not work; but when I change tab and come back to my tab the…

Grissom
- 1,080
- 8
- 21
0
votes
1 answer
Autofocus Gravity Form Field
Trying to get a cursor to appear in one field in my Gravity Form. This is my Javascript, but it's not working:
I've double checked the…

Petey
- 64
- 1
- 10
0
votes
0 answers
Slow down AUTO_FOCUS parameter Android
I have a camera application where Im using AUTO FOCUS Camera parameter to keep the focus. All I want is to take a time lapse of 3sec to adjust the focus instead of qucikly adjusting the focus. Is there any way I can achieve this?
if…

Nauman Aslam
- 299
- 3
- 14
0
votes
0 answers
Autofocus scroll box
Autofocus is used on forms and buttons. What I need is a scroll box to be auto selected. Note that this is not an text area.
The code I have for the scroll box is:

Judith
- 1
- 1
0
votes
1 answer
autofocus(autotab) on next element is not working for dynamically created fields
$("#destination1" + countVar).autocomplete({
minLength : 3,
source : function(request, response) {
var url = configOptions.icaocodeUrl;
var term = request.term;
url=url+term;
…

vetukuri gnanadeep
- 27
- 7
0
votes
1 answer
Sencha Touch autofocus on the textfield
I am unable to make autofocus on the sencha touch textfield.
I have search icon, when I tap on that icon a textfield will appear
Now as soon as it is shown I have to autofocus to that textfield and open the keyboard.
Tried setting listeners to main…

hari86
- 659
- 2
- 16
- 28
0
votes
1 answer
HTML5 form validation does not work with autofocus in Chrome
I don't know if this could be some sort of bug in Chrome or (more than likely) it is me doing something wrong.
I am trying to make a textbox background color turn red if what is entered is not a number.
I have this html page:

Mike
- 2,862
- 10
- 42
- 55
0
votes
1 answer
How do I add autofocus to my spring form input?

zee
- 41
- 1
- 6
0
votes
0 answers
Android Camera2 Manual Focus
Problem
I've recognized that the native 'LG' Camera2 App in the Lollipop API can manually focus nearer than any other app on the market. Not even 'Open Camera', which seems to use really all functions of the Camera2 API can focus that near.
I've…

Pixtar
- 301
- 6
- 9