focus Questions

7

Solved

I'm looking for a definitive list of HTML elements which are allowed to take focus, i.e. which elements will be put into focus when focus() is called on them? I'm writing a jQuery extension which ...
Celibacy asked 21/10, 2009 at 9:18

3

Solved

I am building an Android TV app with the following layout: Both lists on the left and on the right are RecyclerViews with vertical LinearLayoutManagers, Header view is static. Navigation with D-P...
Mohamedmohammad asked 4/2, 2016 at 14:35

11

Solved

I'm building an Android app with React Native. How can you force a TextInput to "unFocus", meaning the cursor is blinking inside the text field. There are functions for isFocused() and onFocus(),...
Womera asked 15/4, 2017 at 22:28

2

In my Android application I am getting a very strange crash randomly. When I open the application I am fetching data from server on splash screen. When the application land on home page suddenly wh...
Cnidus asked 16/6, 2022 at 8:13

34

In my component below, the input field loses focus after typing a character. While using Chrome's Inspector, it looks like the whole form is being re-rendered instead of just the value attribute of...
Glossography asked 3/3, 2017 at 7:25

19

Solved

Is there a simple way to set the focus (input cursor) of a web page on the first input element (textbox, dropdownlist, ...) on loading the page without having to know the id of the element? I woul...
Kipper asked 10/11, 2008 at 10:30

49

Solved

I want to automatically show the soft-keyboard when an EditText is focused (if the device does not have a physical keyboard) and I have two problems: When my Activity is displayed, my EditText is...

10

Solved

How to set the focus on an TextBox element in WPF I have this code: txtCompanyID.Focusable = true; txtCompanyID.Focus(); ...but it is not working. Any idea?
Kidwell asked 28/8, 2009 at 6:44

20

Solved

I'm developing an application where the user presses the "Search" icon in the ActionBar and a SearchView is made visible at the top of the screen. My problem is that the SearchView is not in focu...
Essence asked 29/7, 2012 at 14:32

2

As I am aware, the showModal() method runs the following steps which end up focusing elements within an HTML dialog (emphasis mine) : Let subject be the dialog element on which the method was inv...
Tractable asked 5/8, 2020 at 14:40

9

Solved

I worked with Vue2, but I recently try Vue 3. I have simple problem: <input ref="myinput" /> <button @click="submitData" /> I want to set "focus" on &qu...
Minnieminnnie asked 10/11, 2020 at 17:48

3

Solved

I have an input text field . When a user inputs any text and clicks enter button I need to activate the blur event to remove the focus and also to validate the textinput . <input type="text...
Marlie asked 20/5, 2019 at 8:36

3

Solved

How can I get a current focused control in WPF? I found some solution for WinForms, but invoking WIN32 API function, didn't work in WPF? Is there any way for doing it in WPF?
Tiv asked 15/3, 2011 at 19:47

4

Solved

I have a TextBox and a ToolBar with a Button. If I'm typing in the TextBox and I click the Button I want the TextBox to lose Focus so the binding gets updated. I don't want to add a UpdateSourceTri...
Sharla asked 12/1, 2010 at 21:7

6

Solved

I have a Dialog in my Page, which contains a input field (Date, Calendar) . The problem is that the calendar opens directly after opening the dialog, because the focus is set on the first input. I...
Carlo asked 2/4, 2013 at 10:2

13

Solved

How can I disable selecting in a WPFTooklit's DataGrid? I tried modifying the solution that works for ListView (from WPF ListView turn off selection), but that doesn't work: <tk:DataGrid> &...
Lowther asked 23/3, 2010 at 0:49

2

Solved

I have a simple script that uses left and right arrows to move to next and previous blogpost. var nextEl = document.getElementById("pagination__next__link"); var prevEl = document.getElementById("...
Bischoff asked 27/11, 2013 at 21:42

21

Solved

I have a layout which contains some views like this: <LinearLayout> <TextView...> <TextView...> <ImageView ...> <EditText...> <Button...> </linearLayout> ...
Milklivered asked 24/1, 2012 at 17:45

3

Solved

I have a button that, when clicked, is replaced with an input field and a confirmation button, then when input is finished it's replaced with the original button again. When that happens, I want it...
Janellejanene asked 27/7, 2018 at 21:56

1

I am attempting to selectively apply an outline on an input field only when the user has navigated to the element by keyboard. From my understanding the way to do this is removing the outline on fo...
Ninurta asked 27/4, 2023 at 17:8

3

Solved

I'm using https://pub.dev/packages/flutter_tags for a tag input. A tag is added to the array of tags by pressing submit on the keyboard and the TextInput Field cleared. Now I have the problem that ...
Execratory asked 19/8, 2020 at 17:21

10

Solved

I'm working on a program with DataGridViews. In one DatagridView there is a DataGridViewTextBoxColumn, which is enabled to be edited by the user. When the user is done with typing the numbers into...
Mikiso asked 24/4, 2011 at 16:2

11

Solved

I am new to Flutter. I am building a form with multiple text inputs using following widgets: Form, TextFormField. The keyboard that appears doesn't show "next" (which should shift the focus to nex...
Catapult asked 3/9, 2018 at 13:23

4

I've done large enough research but couldn't find answer to my question. Suppose I have a webView in which I have some text fields, some of them are placed on the bottom of screen so that when keyb...
Marriageable asked 10/4, 2013 at 12:46

4

Solved

In Android, we can call setOnFocusChangeListener(), do something in onFocusChanged() method, but flutter does not provider onFocus() interface like onTap() in GestureDetector or onKey() in RawKeybo...
Mansfield asked 25/12, 2017 at 1:48

© 2022 - 2024 — McMap. All rights reserved.