Skip to main content

Questions tagged [focus]

Focus indicates the component of the graphical user interface which is currently selected to receive input.

focus
1 vote
1 answer
56 views

WPF TextBox select content on mouse click

For WPF TextBox I need to select all content of it in case of mouse click on it (in "real life" it will be touch on touchpad monitor). For test I created simple project and check the ...
Fedor Yudin's user avatar
1 vote
2 answers
328 views

VS code isn't focused when I click on it on my Ubuntu machine

Whenever I click on vs code with my mouse, It focuses on the window behind or other apps. I am using Ubuntu 24.04. I don't know if this has any relation with it since it worked fine on older versions. ...
Mohamed Gom3a's user avatar
2 votes
0 answers
44 views

Why can't I type in on custom autocomplete popper with input

I can't write in the input label and year. In my application, I have a dropdown where I have an input for search and two inputs for add a film (title and year). The main problem is that the focus is ...
Dragos-Iustin Vlad's user avatar
0 votes
1 answer
45 views

React js make background blur when input is focused

I want to create an input field like in the picture, if the input field becomes focused then I want to change the background to blur image example Do I have to use a certain library? I'm currently ...
Terhebat Hokage's user avatar
0 votes
0 answers
49 views

Jetpack Compose: how to set initial a11y focus

I cannot figure out how to set the initial focus for Talkback for Compose elements... I am able to do it for keyboard focus just fine... Here is an example where you click on the first thing with a ...
Kristopher wolff's user avatar
0 votes
0 answers
90 views

What happened to the Windows feature that prevented applications to steal the focus?

Some years ago, it was useless to use an API such as SetForegroundWindow to force some Window to the top of the Z-Order: the only result you got was a blinking icon in your taskbar, as stealing focus ...
manuell's user avatar
  • 7,590
0 votes
3 answers
72 views

Flutter TextField: how to lose focus on tap outside?

Flutter TextField: how to lose focus on tap outside? TextField() It loses focus only when tap another widget that can take focus such as TextField. What if the TextField is the only one widget in the ...
eastwater's user avatar
  • 5,276
1 vote
1 answer
111 views

Material UI custom colors

Goodmorning everybody, I am trying to develop a website using ReactJS and Material UI. I started from this template. I would like to modify the color of the TextField when focused: now it is blue, let'...
Deffo's user avatar
  • 175
0 votes
0 answers
40 views

Pi Virtual Keyboard doesn't focus in text box

On a PI 4 I have installed "Matchbox Keyboard" and "Onboard" but can get neither one to focus where I want to write text. I am trying to write something in a browser search bar so ...
Johnh's user avatar
  • 1
0 votes
0 answers
37 views

Jetpack Compose: how to set focus color separate from ripple color

We use a dark ripple color for most of our controls, which gives us a dark grey ripple effect AND dark grey focused state. But we also use a custom "border-style" focused state for controls. ...
Kristopher wolff's user avatar
1 vote
0 answers
28 views

In VSCode is there a way to focus on first editor in first group in one command without altering "last recently used editor"?

I want to focus on first editor in first group using a keybinding, then using another keybinding I want to switch the focus back onto the editor I was working on before. This previous editor might be ...
ghis's user avatar
  • 431
0 votes
2 answers
22 views

How to programmatically set focus to TextField built by fieldViewBuilder of an Autocomplete widget?

Tried to give input focus to a TextField by extracting the FocusNode from the AutoComplete's fieldViewBuilder function. For this i need a setState call inside the fieldViewBuilder function, which ...
Lothar Langer's user avatar
1 vote
1 answer
170 views

How to shift focus and undo focus from one widget to other in flutter?

I've been new to flutter, and I am learning right now how this focus works? So far from ai chats and stackoverflow [links][1] (one of the best links I found) I have come to know about `focusnode` but ...
bonny's user avatar
  • 709
1 vote
0 answers
111 views

Android Compose (TV) wrong focus when TTS is on

Using jetpack compose to create an APP for TV platforms and I've been trying to create a Vertical List of Horizontal Lists using a LazyColum/LazyRow having a enter Focus (first item Top Left), when ...
daduck's user avatar
  • 286
1 vote
1 answer
47 views

Image viewer with thumbnail Arrow Keys and Click - not able to focus again on click

I have a fairly simple image viewer that puts small images (thumbnails) into a div and allows the user to left and right arrow through the thumbnails and see the larger image below. It also focuses ...
Paulwracc16's user avatar

15 30 50 per page