Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to avoid sometimes clicking on adjacent elements with cursor.click? #120

Open
cage1618 opened this issue Feb 19, 2024 · 4 comments
Open

Comments

@cage1618
Copy link

I speculate that perhaps the clicking occurs before the mouse movement has completely stopped, but even when I tried adding a delay before the click, the issue still occurred.

@Niek
Copy link
Collaborator

Niek commented May 10, 2024

Do you have a reproducible test page for this?

@rezovax
Copy link

rezovax commented Jun 21, 2024

the problem is relevant

@TheGP
Copy link
Contributor

TheGP commented Jul 19, 2024

Yeah it happens actually, I will speculate it is because of the element's box, we need to make a test page for it for sure, for me it happens on complicated websites and pretty rarely so I wasn't able to catch it yet.

@Biogasbottle
Copy link

Biogasbottle commented Oct 11, 2024

There are often sticky components or small windows that cover the element to click. may you expose a parameter to specify the click position within the element?

I found an option there: paddingPercentage, it works for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants