bitovi / bitovi/syn

"input" event should fire synchronously when input field value changes

Open
#120 10 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
441
Forks
254
PR merge metrics
No merged PRs in 30d

Description

syn fires the "input" event asynchronously when typing into a field using `syn.type(...)`. According to [the spec](https://w3c.github.io/uievents/#event-type-input) and [MDN](https://developer.mozilla.org/en-US/docs/Web/Events/input) this event should be fired synchronously as soon as the `value` property of the input has been updated.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how syn.type(...) handles typing into an input field and where it dispatches the "input" event. Compare the dispatch timing with the UI Events specification and verify that the event fires immediately after the value changes, using the existing relevant tests if present.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.