7,337 questions
0
votes
1
answer
44
views
+100
In iOS, Change accessibility text of a UIView element based on the focus direction
Can the accessibility text of a UIView be changed based on the direction the focus it received.
Example:
I have a layout as rendered below, Top Label followed by Collection view, followed by Bottom ...
0
votes
0
answers
10
views
How to focus document for navigator.clipboard.writeText to work?
Using Chrome, I try to access the clipboard via: Clipboard.writeText. I am on a https page, when I do:
const clipboardPermission = await navigator.permissions.query({name: "clipboard-write"})...
0
votes
0
answers
45
views
VBA shell command focus control
I have 2 solutions for running a shell command :-
in the first my command runs in minimized mode but returned result is not the full message return I require
result = Shell(Command, ...
0
votes
0
answers
30
views
give tab focus() on a component when rendering in vue
I have button icon which is a separate component. I need to give the tab focus on this element after page is rendered. I am using Composition API in Vue 3. I tried adding ref to this component but it ...
0
votes
1
answer
49
views
Qt 6.8 How to force QML Camera to focus again
I'm porting an Android Qt 5.7 app to Qt 6.8.
The app uses the QML Camera module to take some photos and it also uses an "invisible button" covering almost all viewport to force a re-focus of ...
0
votes
1
answer
34
views
Why is focus lost when the same tab is opend twice via vba
I have a small vab script that opens a new tab in firefox for a specific site and inputs some data there. I have to do this over and over and noticed that each second time the tab is opened, the focus ...
0
votes
1
answer
32
views
In my Blazor server side app, I want that when the user clicks somewhere on the page, the last focused button shall be refocused again
In my Blazor server side app I have buttons in my razor pages, that opens the related subpages. When a button is clicked then it gets a focus style as defined in my css. When the user then clicks ...
0
votes
2
answers
70
views
How to overwrite the default tailwind focus ring on Firefox?
Tailwind gives a default blue ring to focused elements.
I'm trying to change its color but without success, it's like the default is taking over custom rules.
https://play.tailwindcss.com/52qikegG9a
...
0
votes
1
answer
39
views
Intersection of Two Ellipses with a Common Focus, Lua
I am currently working on a project in Lua that involves calculating the intersection points of two ellipses that share a common focus O.
The parameters for the ellipses include the coordinates of ...
0
votes
0
answers
38
views
I want to show the keyboard and menu toggles in mathlive only if the element is focussed
We can hide the keyboard-toggle using
math-field::part(virtual-keyboard-toggle) {
display: none;
}
As the default display is flex, I'd hoped to be able to show the toggle when the field is ...
0
votes
0
answers
59
views
MUI IP address input
Id like to create an input field for IP address with possibility to capture focus for every parts of the IP address, to edit them individually(like in DateInput fields for day, month, year).
There is ...
1
vote
1
answer
63
views
Not able to persist keyboard on the mobile screen while tapping outside or scrolling the page in flutter
In my flutter PWA (app is being viewed from a mobile browser), i want to NOT dismiss the keyboard.
Every time I tap outside or scroll the screen to see other details on the page, in the form, it ...
0
votes
1
answer
36
views
Handling keyboard focus tabbing on dynamically populated content
I have a list of blog posts with a load more button. For accessibility, I would like to change the positioning of keyboard focus once new posts are added so that instead of skipping to the elements ...
0
votes
0
answers
31
views
FocusVisualStyle is not shown initially when a new window is opened
I have a custom window, with a control template:
<ResourceDictionary>
<Style x:Key="THEME_ButtonFocusStyle">
<Setter Property="Control.Template">
...
1
vote
0
answers
21
views
VerticalGridSupportFragment Focus can't auto next down to the next row when the next ro not full
In VerticalGridSupportFragment, If I have 5 columns and number of items are 13, If the last item from the second row is selected, then on d-pad down click, Focus should go in the 3rd row. How to do it?...
0
votes
0
answers
68
views
How to keep Navbar open after pressing button using HTML/CSS?
I am building a navbar after clicking on a hamburger menu which will take the full screen , and inside the navbar there are many links. Focusing on the button will open the navbar but when I press ...
1
vote
1
answer
60
views
MudBlazor - MudAutocomplete opens the list on load, stealing focus
As in the title, upon loading the component opens the list of available search items stealing focus.
Here is a reproduction of the issue: https://try.mudblazor.com/snippet/mOGSYNwqReIIifvX
I tried ...
-1
votes
2
answers
84
views
What is the purpose of Qt.ClickFocus in qml
I have created a test snippet to understand focus behavior in qml:
import QtQuick
import QtQuick.Window
Window {
visible: true
width: 600
height: 600
Rectangle {
width: 600
...
0
votes
4
answers
87
views
Why can <image> inside <svg> be :focus'ed?
I have an <image> element within an <svg> element, embedded into HTML markup. Somehow the <image> element gets :focus'ed when I navigate through the page with the Tab button. And it ...
0
votes
2
answers
59
views
Checkbox cannot change state when updated from onBlur event
I have a component (selector) which contains a checkbox and another div (selectorPane).
The checkbox state controls the selectorPane visibility (by assigning/not-assigning the 'visible' css class).
...
2
votes
1
answer
117
views
Android Jetpack Compose TV Focus restoring with navigation
I have a two screens on my sample app : HomeScreen and DetailsScreen.
On the HomeScreen I've a LazyVerticalGrid of 100 elements and the DetailsScreen is just a back button.
When scroll on the ...
0
votes
1
answer
22
views
Keep div visible when interacting with items inside it
This works insofar as the links show correctly when the input is in focus. Is there a way I can get the visible status to remain when a link is clicked? At the moment, the focus changes immediately so ...
1
vote
0
answers
24
views
Kendo Scheduler component focus on last added/edited event
I am using Kendo UI's Scheduler component as a planning tool.
I am using the multi-week-view component to visualize the workitems of multiple people across multiple workplaces.
When I add/edit/remove ...
0
votes
2
answers
58
views
Listen to focus event in child component - handler doesn't capture focus event
I'm using Angular 16 - a parent component consumes a child component - the parent component is as follows
parent.component.html
<app-gotoitem #initialFocusComponent (initialFocusNativeElementFocus)...
0
votes
0
answers
30
views
Why does focus shift rapidly between SwiftUI TextFields when using external keyboard?
I'm noticing that shifting focus between two text fields with an external keyboard seems to create a never ending loop where the focus continuously switches between the two.
I can recreate this ...
1
vote
1
answer
43
views
Is there a way to make exoplayers not duck each others volume?
I'm making an android app where the user is able to play many sounds simultaneously and set respective volumes. In the code, I make a separate instance of an exo player for every sound playback. The ...
0
votes
0
answers
41
views
Report: Issue with TextField Focus Management in Flutter TV App
Issue Summary:
In a Flutter app designed for TV users, there is an issue where focus management becomes problematic when a TextField is focused and then unfocused. Specifically, when a TextField is ...
1
vote
1
answer
48
views
Checkbox and its label behave differently in this example, can someone spot why?
I boiled this down to as few code as I could without loosing function. You have to run this in Firefox, Chrome has an already reported and confirmed bug involved.
If you click on the second Item (&...
0
votes
0
answers
45
views
Looking for workaround for: When focus is on p-dropdown, tab key does not focus on next item
I have a p-table with editable inputs including a p-dropdown. As soon as the focus is on the p-dropdown, the focus doesn't go to the next input by using the tab key. But when the focus is one a simple ...
0
votes
0
answers
38
views
Focus cycling of buttons
I am trying to focus cycle through buttons embedded in an HStack running in a tvOS 17.5 SwiftUI app, but after focusing on the 3rd button pressing the right arrow key in the simulator (or right move ...
2
votes
1
answer
55
views
Focusing an SKNode
I have the following code that builds and runs in a simulator in tvOS 17.5. I am trying to navigate focus between the two SKNodes inside the GameScene that is an SKScene. I am unable to have any of ...
0
votes
0
answers
56
views
Flutter: how Focus works for keyboard in iframe?
I met an interesting problem, I have a simple flutter build that use GestureDetector, MouseRegion, and Focus to listen for user input. GestureDetector listens to user clicking, and Focus listens to ...
-1
votes
0
answers
65
views
useTvEventHandler not capturing swipe events for tvos React-Native
useTvEventHandler not capturing swipe events for tvos but the same code is working fine for android tv and & tvos simulator as i am getting up-down-left-right events So how can i handle the same ...
1
vote
2
answers
296
views
SwiftUI why does focusable not work on iPad?
I get a printout in the preview that focus has changed to true on iPhone and the background changes to indigo, but nothing prints at all on iPad, nor does the background change. I don't see why the ...
0
votes
0
answers
33
views
Swipe gesture stops working in TVOS UISearchViewController keyboard - how to debug?
I'm trying to solve an issue with focus in react-native search component based upon UISearchController.
After typing a letter keyboard focus stops working, that means I'm not able to select any other ...
0
votes
0
answers
76
views
Prime React Datatable: keep focus on filter input
I am using Prime React Datatable. I would love to keep built-in controls for filtering and pagination, but make filtering and pagination server side. This all works as expected, except for one thing: ...
0
votes
0
answers
21
views
Tkinter Entry Box Focus Issue in Raspberry Pi 4
When running a Python program with multiple entry boxes on a Raspberry Pi 4, the entry boxes do not show the cursor or accept keyboard input. Instead, all keyboard input is sent to the console from ...
1
vote
2
answers
100
views
How to make Button Click only input Number into specific TextBox?
I have 2 TextBoxes: TextBox1 and TextBox2. I also have a button: Button1.
When I press Button1, set the specific TextBox I previously clicked on/selected while operating the app to have the value 1.
...
1
vote
1
answer
187
views
Vue 3 and Vitest focus input sets document.activeElement to HTMLBodyElement in test in composition API
Given a Vue 3 component
<template>
<input id="input" type="text" @focus="handleOnFocus($event)" />
</template>
<script setup type="ts">...
0
votes
0
answers
26
views
issue related to focus in tizen, using javascript
When my focus is on the menu bar and I am pressing the right key, focus is skipping the first item_row i.e. from the menu bar it goes to row_item_1_1, skipping row_item_1_0 and from menu to ...
2
votes
1
answer
77
views
CSS - focus not working on any browser Why?
Hi there I really never had this problem but today I dont't really understand why the focus is not working - I tried to built a custom switch without using js --- and it looks good and with the mouse ...
1
vote
1
answer
36
views
webbrowser.open steals focus, how to avoid
On Windows, calling webbrowser.open steals the e.g. keyboard input focus, and sets it to the newly opened webbrowser tab.
Is there a way to avoid this, that is: to open the page in the background ?
0
votes
2
answers
266
views
How to manually set focus on element in a shadow DOM (Lit Web Component)
I'm building a select/dropdown component as a Lit web component. To have consistent styling, this is NOT using a native select. I'm using divs and adding logic to have them appear when and where ...
0
votes
0
answers
30
views
React 18 content editable field focus issue
I am working on a quiz application where answers to a question are managed with content editable. I use React 18 for front-end development. I use Dummy options(id= 0) to add options faster and allow ...
0
votes
1
answer
34
views
using :focus without a button or link?
Is it possible to use :focus without having a button or link to focus something? I'm trying to put the code into a game which "doesn't allow" buttons and when I try using <a href="#&...
0
votes
2
answers
62
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 ...
0
votes
1
answer
43
views
using :focus to show something with a button
I have a question regarding :focus. I want to have a button/text that shows <div class="contentbox2"> when clicked, but i'm really struggling with that. I tried several ways but i can ...
0
votes
0
answers
43
views
Compose focus requester never works
Despite all the examples here, even the hacky solutions using a delay, nothing seems to work.
The focus needs to happen on recomposition when an error flag is true validating a username or a password. ...
1
vote
1
answer
47
views
Prevent focus on specific elements jQuery
OK, I have a weird need. I'm not trying to trap focus inside of a specific div, I'm trying to prevent it from entering specific other ones. I have a script which changes the class on a div from "...
-1
votes
1
answer
54
views
Website no longer recognizes popup window name. Javascript
Tell me if this makes any sense. I have been accessing a website through a popup window for years. using
window.open('https://example.com',mypopup,parameters);
I click a button in my main window, and ...