denisraslov / denisraslov/react-spreadsheet-grid

Feature request: go to cell below on enter, next cell on tab

Open
#36 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.2k
Forks
56
PR merge metrics
No merged PRs in 30d

Description

I was expecting it to go to cell below on pressing enter and go to cell to the right on pressing tab. This is how spreadsheets normally do it, no?

(One weird thing I noticed, which made me think it's already supposed to work like that in #35, is that it does work like that if you don't add any `onChange` listener to the `Input`. )

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the behavior with an Input that has an onChange listener, then compare it with the behavior described in issue #35. Trace the keyboard handling for Enter and Tab. Done means Enter moves to the cell below and Tab moves to the cell on the right without breaking onChange behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.