Skip to main content

All Questions

Tagged with
0 votes
2 answers
45 views

Lost focus on one input effects all inputs

I have created an application form with a validation function that requires the user to input the correct information within the boxes before clicking away from that focused box or an error message ...
ryanl's user avatar
  • 31
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
1 vote
1 answer
75 views

What am I doing wrong when trying to manually focus an input with Angular and PrimeNg?

I am using Angular with PrimeNg. I have a Google Forms-like app and in a part of the app I have a set of options, each having a radioButton. I can have the 'Other' option where the user can manually ...
codrut's user avatar
  • 67
0 votes
1 answer
77 views

Manage or block focus on a specific form

Hope you're good. I want to know how to manage (or block) focus in a spécifique part of a form. I have this #sliderContainer which contains 4 forms. If one form is valid, we slide to the other form. &...
Steeven Delucis's user avatar
1 vote
1 answer
196 views

React Native input field losing focus after typing character

Every time I type a character into any of my input fields, it will lose focus and I can't continue typing unless I click back into the input field. Here is my login form. I checked to make sure that ...
Vini Bjazevich's user avatar
0 votes
2 answers
153 views

PysimpleGUI: How to remove cursor from input box when window is clicked elsewhere?

I am using PySimpleGui to create an interface with a few input boxes, buttons, text, and some images that get displayed. I am trying to bind number keys to other actions for button presses. However, ...
pyinthesky's user avatar
1 vote
1 answer
795 views

scrollIntoView() method stops scrolling mid-way to the element when triggered by ENTER key on input

Context I'm developing a list of items. I have a form on the top of the list in order to add new items (just 1 input and 1 submit button). Once the form is submitted, I have the next code in order to ...
CeuxDruman's user avatar
0 votes
0 answers
48 views

React Date Range Picker issue - not focusing on input field while date range picker is open on first click

I am using react-DateRangePicker, and using input field with this and when clicking on input it's opening that date range, but it's not focusing on input field while date range picker is open. ...
Muhammad Usman Jamil's user avatar
0 votes
1 answer
988 views

In svelte, I need to set the focus on an input element, but I get the error 'input.focus is not a function'

<script > let inx1 = "null"; let input =""; function handleClick() {input.focus(); } $: inx1 && handleClick(); </script> <textarea style="clear: ...
angelo alamia's user avatar
0 votes
0 answers
120 views

Google reCaptcha in Bootstrap Modal

I use google reCaptcha v2 version in my project. I need to use this reCaptcha in modal. I use bootstrap modal. My problem is this: when I click on reCaptcha in the modal, it focuses on an input in the ...
Erkan Kabil's user avatar
0 votes
0 answers
36 views

How to fix Uncaught ReferenceError: input1Ref is not defined in react.js

I have two different input and I want to make sure that once I entered value into the first input, it should automatically shift focus to the next input but unfortunately I am having this error: '...
Adex's user avatar
  • 53
0 votes
1 answer
665 views

React-phone-input-2: Autofocus not working after selecting a country code

Can you explain, how can I focus the input after selecting the code country? On the demo it works as expected, but mine doesn't work... There is a code of PhoneInput component: <PhoneInput ...
Gleymas's user avatar
2 votes
1 answer
570 views

iOS Safari weird behavior of focusing input, centering input on focusing

for the last few days I am trying to fix a very weird problem that occurs just on iOS Safari. (14/15 and 16+) Ill post a video clip here to explain it. Bugged behaviour: https://streamable.com/11l02b ...
Elkhan Mammadkhan's user avatar
0 votes
2 answers
3k views

Headless UI Combobox Focus Behavior

I am using the Headless UI Combobox as an autocomplete search bar (React/Remix app). I would like the search bar to give up focus after the search is submitted. On some devices (e.g. iPhone Safari) it ...
zlach's user avatar
  • 3

15 30 50 per page
1
2 3 4 5
21