All Questions
149
questions
0
votes
0
answers
27
views
Pressing "enter" focuses on the dialog instead of the other fields
On my main page, I render a table that shows some orders. When the user clicks on any of the orders, a Dialog opens up with an additional table showing the products related to the order.
The first two ...
1
vote
1
answer
392
views
How to disable the function of using arrow key to switch focus of controls when developing a Flet app?
I noticed that when I was using arrow keys in an sample app, the focus (sort of) of control will be changed depending on the direction of arrow key I have pressed. So how can I disable this behaviour?
...
1
vote
1
answer
379
views
VueJS - Click event is not triggered as parent event prevaults
I am building a search input that fetchs data from my API and lists it in a dropdown list.
Here is the behavior I want my component to have:
If I start typing and my API founds data, it opens the ...
2
votes
1
answer
101
views
Javascript Listeners for blur and pointerup working differently between Desktop and Mobile
I have a bit of Javascript that I'm using to delay the execution of some function after a blur event has been triggered by waiting for the next pointerup.
/* anonymous pointer listeners for debugging *...
0
votes
0
answers
98
views
jquery ON multiple event, but need trigger one not all of them
in jQuery, i used this example to do something on inputs:
var i=0;
$("#inputTest").on("focus click touchstart",function(e){
++i;$(this).val(i);
console.log(e.type);
});
...
0
votes
1
answer
2k
views
focus() on element triggers keyup event
Can someone explain to me, why calling the focus() method on an element, triggers that elements keyup event, when the focus() method is called from an click event handler, but that handler is ...
9
votes
2
answers
27k
views
ANR Input dispatching timed out (server) is not responding
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 whole ...
1
vote
0
answers
80
views
How to prevent focus from going to browser links?
gestCookiesBtn.addEventListener('blur', function () {
// prevent focus from going to browser links
});
The idea is to prevent focus from going to browser links when event blur occurs on a ...
1
vote
1
answer
3k
views
NavigationEvents in react-native navigation-6
Hi I am trying to implement Navigation but I am keep getting the error
Invariant Violation: withNavigation can only be used on a view hierarchy of a navigator. The wrapped component is unable to get ...
1
vote
0
answers
913
views
Handling blur on search input with React
I'm currently working on an Instagram clone using React and Styled-Components. Right now I'm getting the navbar in order and trying to emulate the behavior that the desktop Instagram page uses on the ...
0
votes
0
answers
68
views
Is there a way to detect when bottom app tray is opened on iPad using JavaScript
I'm trying to figure out if its possible to use JavaScript to detect when a user triggers a gesture on iPad (and probably to a larger extent most iOS devices) that brings up certain UI elements. I ...
1
vote
1
answer
191
views
How to traverse the input field in the Google search result page and auto focus on it?
I want to set a shortcut to focus on the input field in the Google search result page, instead of using mouseover or mousemove Event.
How to traverse all the elements in a page to get the input field ...
1
vote
1
answer
1k
views
Mousedown event not working with tabindex focus()
I want to set focus on specific div element using mousedown event. Then I press tab key to check if next element is focused after my specific element. But after pressing tab, active element is ...
-1
votes
1
answer
99
views
Select first column of a datagrid
Hello I have a tab and a corresponding datagrid. The datagrid has rows. I am trying to get the focus on the first row and worst case scenario any row.
I have tried
FocusManager, datagrid.Focus(), ...
1
vote
1
answer
639
views
How to prevent focus change on long press in Chrome on Android?
I want focus to stay on the currently focused DOM element. I am using the usual way to prevent focus change on click on another element:
button.addEventListener("mousedown", (evt)=>{evt....