Checkbox click not triggering click event on Firefox
Open
Nobody has claimed this yet.
needs: more info
- Dominant language
- TypeScript
- Stars
- 16.3k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
📝 Provide detailed reproduction steps (if any)
- I have a custom plugin that renders checkboxes inside the editor
- And an
editor.getBody().addEventListener("click")inside the setup to listen to click events
✔️ Expected result
When I click on the checkbox I expect the click event to be triggered
❌ Actual result
The click event is not triggered when using Firefox. It works on Chrome though
📃 Other details
- Browser: Firefox
- OS: Mac
- Worked in version: ^7.6.0
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
Reproduce the issue in Firefox on macOS using a custom plugin that renders checkboxes and the editor.getBody().addEventListener("click") setup. Compare the behavior with Chrome and the previously working ^7.6.0 version; done means checkbox clicks trigger the expected click event in Firefox without regressing Chrome.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100