bodil / bodil/purescript-signal
Version of `keyPressed` that prevents default
Open
good first issue
help wanted
- Dominant language
- PureScript
- Stars
- 260
- Forks
- 41
- PR merge metrics
- No merged PRs in 30d
Description
I have couple of signals for arrow keys that are causing the browser to scroll. I don't see a way to work around this using current `keyPressed`, so maybe we could add version of `keyPressed` that prevents the default event.
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names the current keyPressed API but does not identify files or tests. Start by locating keyPressed and its browser keyboard-event handling, then verify that the requested variant prevents default scrolling for arrow-key signals while preserving existing behavior.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100