click, tap etc helpers can't specify coordinates of click
See original GitHub issueI’m working on a visual editor where clicking at different positions gives different results (eg clicking on or outside a shape).
I’d like to be able to pass x,y
coords to the click, tap helpers
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
How do I get the coordinates of a mouse click on a canvas ...
How to get element relative mouse coordinates. Whether or not the element is a canvas getting element relative mouse coordinates is the same...
Read more >Get the coordinates of a click/touch event
Solved: Hi, How can I get the location of a click/touch event? I would like to know where the user clicks on an...
Read more >Activity/Command to click on mouse position and completely ...
I am looking for an activity or function/expression that just lets me tell UIPath to click X,Y coordinates on screen, not depending on ......
Read more >Handling Events :: Eloquent JavaScript
Clicks on the button cause that handler to run, but clicks on the rest of the ... Depending on the browser, some events...
Read more >Click Maps: Track User Clicks on Your Website | Hotjar Blog
Learn how to use click maps to collect data on how visitors scroll through your website, so you can spot UX improvements, make...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
already working on it…
See here for the internal event firing system:
https://github.com/emberjs/ember-test-helpers/blob/dc1ec8e1377cee58a08d69d0bbcdd0f269440dfa/addon-test-support/%40ember/test-helpers/dom/fire-event.js#L56
We basically need to update
click
andtap
to allow a secondoptions
argument and thread that through.Updating the following locations:
https://github.com/emberjs/ember-test-helpers/blob/dc1ec8e1377cee58a08d69d0bbcdd0f269440dfa/addon-test-support/%40ember/test-helpers/dom/click.js#L51
https://github.com/emberjs/ember-test-helpers/blob/dc1ec8e1377cee58a08d69d0bbcdd0f269440dfa/addon-test-support/%40ember/test-helpers/dom/click.js#L12
https://github.com/emberjs/ember-test-helpers/blob/dc1ec8e1377cee58a08d69d0bbcdd0f269440dfa/addon-test-support/%40ember/test-helpers/dom/click.js#L20