Skip to main content
2 votes
1 answer
156 views

I'm trying to recreate Wordle as a practice for React, and I'm having problems with the keydown event. The idea is that when I press a letter the program writes that letter into a cell and moves to ...
Jorge Nuñez's user avatar
0 votes
3 answers
150 views

I am using Angular 19 keydown event on Textbox. It should allow only numbers and decimals up to 2 places. Valid numbers are: 123.45, 675.1, 12345 etc. This works properly for all keys except Spacebar. ...
Vibha's user avatar
  • 13
1 vote
2 answers
90 views

I have this javascript function for allowing numeric input only window.addNumericInputValidation = function (elementId) { var $element = $("#" + elementId); // First remove any ...
Đức Thành Nguyễn's user avatar
1 vote
1 answer
61 views

Here is the scenario to reproduce the problem: Given input element has test string as a content. Focus given input element by clicking at the end of the input element After focusing, caret is set at ...
Andrii Kovalenko's user avatar
0 votes
1 answer
111 views

I have an old project made with powerbuilder 10.5. I'm trying to create a keydown or dwnkey event to trigger a commandbutton to execute a print command. The parentwindow (w_waybill) has some ...
Pablo Mazzara's user avatar
0 votes
0 answers
63 views

I'm developing a typing speed game with difficulty levels (easy, medium, hard), where the game tracks typing speed, accuracy, and time. After switching from easy to medium (or other levels), when I ...
Zoooriiel's user avatar
0 votes
1 answer
68 views

I am currently doing a simple to-do list, and I have a problem that when I click enter, my web will reload, which I expect will be adding a new task. Thank you for helping. handleSubmit = (event) =>...
Dinh Khoi Nguyen's user avatar
3 votes
2 answers
111 views

I was doing tests to detect the keyboard keys, it occurred to me to save it in an array and add the keys in the order in which they are held down. For example, if you keep "w" and "a&...
Sleep's user avatar
  • 37
0 votes
0 answers
36 views

I have an NSTableView that doesn't allow selecting rows. I'd like keyDown: events (edit: from arrow keys) to reach the view's controller (which is also its delegate). By default, a table view "...
jeanlain's user avatar
  • 475
0 votes
0 answers
17 views

I’m a beginner in software development and currently working on a data entry grid. I’m using a grid control with 5 ComboBox columns (Column A, B, C, D, and E). I want to handle the Enter key so that ...
Vicky Patel's user avatar
1 vote
0 answers
102 views

I am handling keydown which provides a KeyboardEvent on a webpage. I want to only do something if the user pressed a specific letter without holding any modifiers. However, I cannot figure out how to ...
binki's user avatar
  • 8,424
0 votes
0 answers
57 views

I'm making a custom control for a particular UI I am creating. Ideally, the user inputs a number into some textboxes, and upon pressing enter, those numbers get saved and can be used later in the ...
Mark Johnson's user avatar
0 votes
2 answers
477 views

I have a script whereby if a user is focused on an element and presses the down arrow key, it expands/collapses a section. Works in all browsers I've tested without a screen reader, and it works on ...
DeanH's user avatar
  • 533
0 votes
1 answer
93 views

Update: I've heavily edited this question because no one seemed to be grasping what I'm trying to accomplish. When a user is focused on a heading in the example below and presses the down arrow key, I ...
DeanH's user avatar
  • 533
0 votes
0 answers
38 views

I have changed my keyboard to a non-English language (Korean) and am looking to log characters inside my onKeyDown. I came across this stack overflow post about using keypress instead but wasn't able ...
LearnToImprove's user avatar

15 30 50 per page
1
2 3 4 5
97