366 questions
3 votes
2 answers
89 views
JavaScript DOM manipulation in the Browser [closed]
I am trying to get an element, and element's fontSize property and update the size with keypresses. I press the up'ArrowUp' and down 'ArrowDown' but nothing happens, the fontSize property does not ...
0 votes
1 answer
120 views
Mat-Autocomplete with cdk-virtual-scroll-viewport (large data) arrow-keys didnt work
I am trying to use mat-autocomplete with large data. For the large data aspect im using a cdk-virtual-scroll-viewport with mat-autocomplete. Everything works except the Arrow-Key Navigation. <mat-...
1 vote
0 answers
21 views
How to change focus to dropdown panel after opening dropdowns in slash command. And set one plugin as default to navigate between plugins
_getPluginListItemsDefinitons() { const editor = this.editor; const locale = editor.locale; this._dropdown = createDropdown(locale); this._commandItems = []; ...
0 votes
0 answers
54 views
Arrow keys in FormKit taglist delete text instead of navigating within it
I am using a FormKit form with a FormKit taglist component and the :allow-new-values="true" option. Here's the issue I'm facing: When the input field is empty and I start typing, I can use ...
2 votes
1 answer
157 views
How to move around in the console using the arrow keys, c and win32
I am writing a text editor in the C programming language, and I am stuck on how to allow the user to move around in the console window using the arrow keys. Here is my code: // EDIT LOOP void ...
-10 votes
1 answer
716 views
How can I slow down the scroll speed in Microsoft Edge using JavaScript? [closed]
In Microsoft Edge, holding the arrow down key on any web page scrolls the page down at an incredibly fast speed. Although Edge is Chromium-based, Google Chrome is not affected by this. Here is an ...
0 votes
0 answers
69 views
Tkinter keybinding for shift cursor keys on Mac
The following keybindings are working fine on Windows, but don't execute the bound code on Mac. Are the keybindings different between Windows, Mac and Linux? self._kw.keyboard_win.bind("&...
0 votes
1 answer
46 views
How to call a function when the function requires to move a div box when the left key is clicked?
# After writing the function I am stuck on how to call the function. > window.addEventListener("keydown",function(e){ if ((e.keycode==37)||(e.keycode==39)){ myFunction(e.key); > ...
0 votes
1 answer
158 views
Prevent webpage scrolling with keyboard only if an element is displayed
On a webpage, certain keyboard keys will control the scrolling of the webpage such like spacebar, arrowup, arrowdown. I intend to prevent the user from scrolling with these keys when an overlay ...
1 vote
1 answer
294 views
Navigating combo box list by keyboard arrows
I have a combo box that shows a list of options as you type in it, however when I try to navigate through the list using the keyboard arrow keys, it selects the first option and removes the other ...
1 vote
1 answer
60 views
navigating between items that are in a flexbox when it's visible in 4 way (left, up, right, down)
i have a filter dropdown that has a search button, button activates if there is no item on the list however the dropdown has multiple items in a line so what i want is to be able to navigate between ...
0 votes
0 answers
44 views
Recursive Submenu Opening and Incorrect Active Class Assignment on Right Arrow Key Press
I'm currently working on a web application that has a menu system with submenus. I'm trying to implement arrow key functionality where the right arrow key should open a submenu, and the active class ...
0 votes
1 answer
2k views
Tailwind appearance-none not working for Select tags
I need to remove the arrow of the select tag, so I follow an example on Tailwind CSS: https://v1.tailwindcss.com/docs/appearance I checked the link to tailwind.min.css already, but it still not work. ...
-2 votes
1 answer
46 views
How can I get a div that moves using arrow keys to not be able to go off screen?
I want to make a pong game using HTML, CSS and javascript. I started with making a player and I got it to move using the arrow keys but it can go outside the screen which creates the sidebar. I want ...
0 votes
0 answers
88 views
How can I check for a down arrow in terminal input on Linux?
i can't understand how can i read the down arrow input in assembly. I need this input to pass to the next string. i checked the register ebx and ecx and inside of them there are different values. i ...