NotASithLord / NotASithLord/peerd
Browser scripting clicks activate targets twice
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 410
- Forks
- 45
- Avg merge
- 11d 5h
- Merged PRs (30d)
- 1
Description
The scripting fallback dispatches a MouseEvent click and then calls HTMLElement.click(). One tool action can submit a form or toggle a control twice.
Expected:
- One tool click causes one activation.
- The event keeps target coordinates and supports SVG targets.
Scope:
- Remove the second native click.
- Keep one centered synthetic click.
- Add browser regression tests for one checkbox toggle and one form submit.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the browser scripting fallback that dispatches the synthetic MouseEvent click and then calls HTMLElement.click(). Add browser regression tests covering one checkbox toggle and one form submission, preserving target coordinates and SVG support; done means each tool click causes exactly one activation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100