Questions tagged [click]
In user interfaces, click refers to the depressing of a mouse button or similar input device.
click
9,379
questions
0
votes
0
answers
8
views
I have a grid with several items on it, how do I have specific items show when I click a category menu?
example
I have a grid of several items, and a category menu. I'd like specific grid items to show when a menu option is clicked. What are some straightforward ways I can achieve this?
Here's is the ...
0
votes
1
answer
27
views
Making the player move to the right or to the left when the arrow is clicked in Unity
I was working on a script where, if you click the right arrow, the player moves at a constant speed towards the right side of the screen, then stops after leaving the screen. (Similarly, if you click ...
-2
votes
0
answers
31
views
javascript tree on right click
I have a code below $('#tree').on('select', function (e, node, id) after clicking on a Menu.
I want to know the same trigger on right click,
I want to know the equivalent of this command $('#tree')....
1
vote
0
answers
17
views
How to click on any non-button elements on a web page using Selenium & Python
I'm trying to scrape search results from google maps. However once I enter my search, the results come up in a portion of the frame with a scroll bar not a part of the entire body. I need to click on ...
0
votes
0
answers
14
views
Click handler function prevents link to redirect (React js)
I have a click handler function that detects click on a <NavLink> tag and does the job of hiding some divs (mobile menu). But what it also does is prevents the Navlink to redirect to the page it ...
0
votes
1
answer
36
views
Autoclicker in java
I am trying to make it so after I press the start button, it does the clicks when left mouse button is being held down, but right now its not clicking at all when I hold left mouse button.
package GUI;...
0
votes
0
answers
51
views
What is the proper way to store an access token for a CLI accessing an API?
I am creating a CLI using Click for accessing my API but am unsure the proper way to store the access token for the routes that require authorization. My initial thought was to store it as an ...
1
vote
0
answers
33
views
Does the HTML/JavaScript standard guarantee .click()ing elements that are not appened to the DOM?
In some solutions to "trigger file downloads with JavaScript" questions, the pattern
link = document.createElement('a')
link.click()
is used.
In various places, people report that this did ...
0
votes
0
answers
17
views
Click: Take user options that aren't pre-defined
I've got a Python CLI app using Click. I have one command in which I defined various options.
This command loads up one of several available environments. (These are reinforcement learning ...
0
votes
1
answer
24
views
Automate clicking a <div role='button'> using Selenium
Trying to automate connecting to people from a list and there's three places the button is present. two scenarios work, but the third doesn't.
Problem: on line [4], for connect_button, .click() ...
-2
votes
3
answers
55
views
"Sign Out" button and logo not clickable
I have a menu bar which I created with HTML and CSS.
I have buttons that are centralized in the middle of the menu bar, which work perfectly fine. My problem here is that the buttons on the wings, &...
0
votes
0
answers
75
views
Tkinter, macbook air M1, click not working well
I have been experiencing a problem for the past few weeks. Indeed, I'm using Python 3.8.13 and Tkinter 8.6.12 on my MacBook Air M1 with macOS Sonoma 14.5 (23F79). When I need to click a button using ...
0
votes
1
answer
43
views
Click listener prevents click from registering
I added this simple event listener (in the context of content.js of my browser extension)
document.addEventListener('click', (e) => {
if (e.altKey) {
console.log(e);
}
}, true,)
This works ...
1
vote
2
answers
74
views
Check if click was triggered by touch in modern browsers
This question is an update to this one, but for modern browsers. (Unfortunately the answers here are outdated and/or not in vanilla JavaScript). Essentially I want to perform a simple test to detect ...
0
votes
1
answer
59
views
MUI Base Modal Backdrop Not Registering Clicks
I am attempt to implement a Modal using MUI Base Modal component and scss modules for styling:
import { Modal as BaseModal, ModalProps as BaseModalProps } from '@mui/base';
const Backdrop = () => &...